
/* Custom styles that complement Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* Main background with overlay */
body {
  background-image: 
    linear-gradient(to bottom, rgba(245, 245, 245, 0.8), rgba(245, 245, 245, 0.8)),
    url('https://huggingface.co/spaces/Krisiu/energia-optima-smart-savings-wizard/resolve/main/images/A447E357-918C-4C42-8A2C-D7B2973B1CD1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Hero background with overlay */
.hero-bg {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image:
    linear-gradient(0deg, rgba(14, 90, 82, 0.55), rgba(14, 90, 82, 0.25)),
    url('https://huggingface.co/spaces/Krisiu/energia-optima-smart-savings-wizard/resolve/main/images/A447E357-918C-4C42-8A2C-D7B2973B1CD1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}
/* Logo styles */
.logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}
/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}
/* Tabs navigation */
.tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.tab-link {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  color: #0f5a4f;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-link:hover {
  background: #f8fafc;
}

.tab-link.active {
  background: #0f5a4f;
  color: white;
  border-color: #0f5a4f;
}

.tab-link.cta {
  background: #0f5a4f;
  color: white;
  border-color: #0f5a4f;
}

.tab-link.cta:hover {
  background: #0c473f;
}

/* Mobile styles */
@media (max-width: 767px) {
  .tabs {
    position: sticky;
    top: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }
}
/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .drawer {
    transition: none;
  }
}
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: block;
  }

  .tabs {
    display: none;
  }
}

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

  .tabs {
    display: flex;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F4F8F7;
}
::-webkit-scrollbar-thumb {
    background: #137A71;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0E5A52;
}
/* Animation for CTA buttons */
.cta-button {
    transition: all 0.3s ease;
    transform: translateY(0);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* Services CTA Section */
.cta-uslugi { 
    padding: 64px 0;
    background-image:
        linear-gradient(0deg, rgba(14, 90, 82, 0.55), rgba(14, 90, 82, 0.25)),
        url('https://huggingface.co/spaces/Krisiu/energia-optima-smart-savings-wizard/resolve/main/images/A447E357-918C-4C42-8A2C-D7B2973B1CD1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
}
.cta-uslugi h2 { 
    color: #f39a2b;
    text-align: center; 
}
.cta-uslugi a { 
    color: #f39a2b; 
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
}
.cta-uslugi a:hover { 
    text-decoration: underline; 
}
/* File input styling */
input[type="file"]::file-selector-button {
    border: 1px solid #e2e8f0;
    padding: 0.4em 0.8em;
    border-radius: 0.375rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
}

input[type="file"]::file-selector-button:hover {
    background-color: #f1f5f9;
}

/* FAQ dropdown animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer.active {
    max-height: 500px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .hero-bg {
        background-attachment: scroll;
    }
    .header-logo {
        height: 50px;
    }
}