/* Skywatt Electric Energy - Pure Static Stylesheet */
:root {
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(200, 18%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(200, 18%, 18%);
  --primary: hsl(45, 100%, 50%);
  --primary-foreground: hsl(200, 18%, 18%);
  --secondary: hsl(122, 39%, 49%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(0, 0%, 96%);
  --muted-foreground: hsl(200, 10%, 45%);
  --accent: hsl(199, 98%, 48%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --border: hsl(0, 0%, 90%);
  --input: hsl(0, 0%, 90%);
  --radius: 1rem;
  --gradient-solar: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(38, 100%, 60%));
  --gradient-eco: linear-gradient(135deg, hsl(122, 39%, 49%), hsl(122, 45%, 42%));
  --shadow-solar: 0 10px 40px -10px hsla(45, 100%, 50%, 0.3);
  --shadow-eco: 0 10px 40px -10px hsla(122, 39%, 49%, 0.3);
  --shadow-elegant: 0 4px 20px hsla(200, 18%, 18%, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: hsla(0, 0%, 100%, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-elegant);
}

.nav-bar {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 3.5rem;
  width: 3.5rem;
  object-fit: cover;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #4b5563;
  line-height: 1.25;
}

.brand-subtitle {
  font-size: 0.875rem;
  color: #16a34a;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background-color: var(--muted);
}

.nav-btn.active {
  background: var(--gradient-solar);
  font-weight: 600;
  box-shadow: var(--shadow-solar);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu-btn:hover {
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  padding-bottom: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}

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

@media (min-width: 768px) {
  .mobile-nav.open {
    display: none;
  }
}

.mobile-nav .nav-btn {
  width: 100%;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 2rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-solar {
  background: var(--gradient-solar);
  color: var(--foreground);
}

.btn-solar:hover {
  box-shadow: var(--shadow-solar);
  transform: scale(1.05);
}

.btn-outline-light {
  background-color: hsla(0, 0%, 98%, 0.1);
  color: var(--background);
  border: 1px solid var(--background);
}

.btn-outline-light:hover {
  background-color: var(--background);
  color: var(--foreground);
}

.btn-dark {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-dark:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-elegant);
  transform: scale(1.05);
}

.btn-eco {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  width: 100%;
}

.btn-eco:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  width: 100%;
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-products-cta {
  background: linear-gradient(to right, #f97316, #ef4444, #15803d);
  color: #ffffff;
  font-weight: 600;
}

.btn-products-cta:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

/* Cards */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-hover-elegant:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-0.25rem);
}

.card-hover-solar:hover {
  box-shadow: var(--shadow-solar);
  transform: translateY(-0.5rem);
}

.card-hover-solar-sm:hover {
  box-shadow: var(--shadow-solar);
  transform: translateY(-0.25rem);
}

.card-hover-eco:hover {
  box-shadow: var(--shadow-eco);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.badge-dark {
  background-color: var(--foreground);
  color: var(--background);
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
}

.badge-dark:hover {
  opacity: 0.9;
}

/* Hero Section (Home) */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(200, 18%, 18%, 0.9), hsla(200, 18%, 18%, 0.7), hsla(200, 18%, 18%, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--background);
  animation: fadeSlideUp 0.9s ease both;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: hsla(0, 0%, 98%, 0.9);
  animation: fadeSlideUp 0.9s ease 0.15s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections & Page Headers */
.section-py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-muted {
  background-color: hsla(0, 0%, 96%, 0.5);
}

.bg-gradient-solar {
  background: var(--gradient-solar);
}

.bg-gradient-eco {
  background: var(--gradient-eco);
}

.page-header-solar {
  padding: 5rem 0;
  background: var(--gradient-solar);
  text-align: center;
}

.page-header-solar h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.page-header-solar p {
  font-size: 1.25rem;
  color: hsla(200, 18%, 18%, 0.8);
  max-width: 48rem;
  margin: 0 auto;
}

.page-header-products {
  padding: 5rem 0;
  background: linear-gradient(to right, #f97316, #ef4444, #16a34a);
  text-align: center;
}

.page-header-products h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-header-products p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.page-header-dark {
  position: relative;
  padding: 6rem 0;
  background-color: #0f172a;
  overflow: hidden;
  text-align: center;
}

.page-header-dark .accent-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(249, 115, 22, 0.1), transparent);
}

.page-header-dark .accent-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(to right, rgba(249, 115, 22, 0.1), transparent);
}

.page-header-dark .pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: rgba(249, 115, 22, 0.1);
  color: #fb923c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.page-header-dark h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .page-header-dark h1 {
    font-size: 3.75rem;
  }
}

.page-header-dark h1 span {
  color: #f97316;
}

.page-header-dark p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.grid-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .grid-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.grid-services {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.grid-gallery {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .grid-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 1280px) {
  .grid-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.grid-lg-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .grid-lg-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid-lg-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

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

/* Gallery Card & Lightbox */
.gallery-card {
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
  border-color: #fb923c;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.gallery-overlay svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay svg {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 56rem;
  max-height: 90vh;
  background: var(--card);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Project Portfolio Cards */
.project-card {
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  border-radius: var(--radius);
  transition: all 0.5s ease;
}

.project-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.5rem);
}

.project-media {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.1);
}

.project-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-media-gradient {
  opacity: 0.8;
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #f97316;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-body {
  padding: 2rem;
}

.project-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-body h3 {
  color: #ea580c;
}

.project-body p {
  color: #475569;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.project-bar {
  width: 2.5rem;
  height: 0.25rem;
  background-color: #f97316;
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.project-card:hover .project-bar {
  width: 5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(45, 100%, 50%, 0.25);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 120;
  background: var(--foreground);
  color: var(--background);
  padding: 0.875rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  font-size: 0.875rem;
}

.toast.error {
  background: var(--destructive);
  color: #ffffff;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.site-footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

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

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

.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-link {
  opacity: 0.8;
  transition: all 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 98%, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  height: 2.25rem;
  width: 2.25rem;
}

/* Utility Helpers */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #ffffff; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
