/* 
   FiscAura - Style principal
   Colors:
   - Indigo: #3C1874
   - Coral: #FF6F61
   - Jade: #00695C
   - Latte: #FFF3E0
   - White: #FFFFFF
*/

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FFFFFF;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #3C1874;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: #FF6F61;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

.text-center {
  text-align: center;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #FF6F61;
  color: white;
}

.btn-primary:hover {
  background-color: #e55a4d;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #3C1874;
  color: white;
}

.btn-secondary:hover {
  background-color: #301464;
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.8rem;
  color: #3C1874;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.main-nav a:not(.btn):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #FF6F61;
  transition: width 0.3s;
}

.main-nav a:not(.btn):hover {
  color: #FF6F61;
}

.main-nav a:not(.btn):hover:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #3C1874;
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Content Wrapper --- */
.content-wrapper {
  padding-top: 80px;
}

/* --- Sections --- */
section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 40px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(60, 24, 116, 0.8), rgba(60, 24, 116, 0.8)), url('./img/9JlJ1B.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- About Section --- */
.about {
  background-color: #FFF3E0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: #3C1874;
  margin-bottom: 10px;
}

.service-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Why Choose Us Section --- */
.why-us {
  background-color: #FFF3E0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #FF6F61;
}

/* --- Testimonials Section --- */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 20px;
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: #3C1874;
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-header {
  padding: 20px;
  background-color: #3C1874;
  color: white;
}

.pricing-features {
  padding: 20px;
  list-style: none;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: 20px;
}

/* --- Contact Section --- */
.contact {
  background-color: #FFF3E0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.form-control:focus {
  outline: none;
  border-color: #FF6F61;
  box-shadow: 0 0 0 2px rgba(255, 111, 97, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
}

.contact-info {
  padding: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-icon {
  margin-right: 15px;
  color: #3C1874;
  font-size: 1.5rem;
}

/* --- Alert Messages --- */
.alert {
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 4px;
  font-weight: 500;
}

.alert-error {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #c62828;
}

.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #2e7d32;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

.alert ul li {
  margin-bottom: 5px;
}

.alert ul li:last-child {
  margin-bottom: 0;
}

/* --- Footer --- */
.main-footer {
  background-color: #3C1874;
  color: white;
  padding: 50px 0 20px;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #FF6F61;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #FF6F61;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #3C1874;
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transition: bottom 0.5s;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
}

.cookie-content a {
  color: #FF6F61;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide {
  animation: slideIn 0.8s ease forwards;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .services-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    transition: left 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .services-grid,
  .features-grid,
  .pricing-grid,
  .footer-sections {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content button {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
} 