/* 
 * Main stylesheet for MAXTA GROUP website
 * Based on the original website design at testmax.fwh.is
 */

/* Global Styles */
:root {
  --primary-color: #0066cc;
  --secondary-color: #e63946;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --accent-color: #f6f6f6;
}

input[name="username"] {
  position: absolute;
  left: -999999999px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

.centeredgrid {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #0056b3;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Header & Navigation */
header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.navbar {
  padding: 15px 0;
}

.navbar-brand img {
  max-height: 60px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  /* background-image: url("/assets/img/hero-background.webp"); */
  background-image: url("/assets/img/hero2.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 50px 0;
  text-align: center;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Made in USA Badge */
.made-in-usa-badge {
  background-color: var(--secondary-color);
  color: white;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.accent-background {
  background-color: var(--accent-color);
}

.made-in-usa-badge i {
  margin-right: 10px;
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: bold;
}

section {
  /* padding: 50px 0; */
  padding: 25px 0px 0px 0px;
}

/* Why Choose Us Section */
.feature-icon {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-box {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Products Section */
.products-section {
  background-color: var(--light-color);
}

.product-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  height: 250px;
  object-fit: cover;
}

.product-title {
  font-weight: bold;
  margin: 15px 0;
}

/* Testimonials Section */
.testimonial-box {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-color);
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
}

/* Call to Action Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

footer h5 {
  margin-bottom: 20px;
  font-weight: bold;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

/* Product Detail Page */
.product-detail-img {
  border-radius: 10px;
  overflow: hidden;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 15px 0;
}

.product-description {
  margin-bottom: 30px;
}

/* Cart Page */
.cart-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-total {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Contact Page */
.contact-info-item {
  margin-bottom: 20px;
}

.contact-info-item i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-form {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
}

/* Customer Account Pages */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ddd;
  border: 3px solid white;
  box-shadow: 0 0 0 1px #ddd;
}

.timeline-marker.active {
  background-color: var(--primary-color);
}

.timeline::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background-color: #ddd;
}

.boldedtext {
  font-weight: bold;
}

/* Slider styles */

.slider-container {
  padding: 10px 0;
  max-height: 100vh;
  max-width: 60vw;
  margin: auto;
}

.slides-wrapper {
  margin: auto;
  overflow: hidden;
}

.slides-container {
  padding: 0 10px;
}

.slider-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow: hidden;
  transition: 1s;
  max-height: calc(100vh - 80px);
}

.slider-item {
  /* background-color: #bdbdbd; */
  margin: 0 16px -4px 0;
  /* min-height: 150px; */
}

.slider-item img {
  width: 100%;
}

.slider-arrows {
  display: flex;
  justify-content: space-between;
  /* height: 30px; */
  padding: 0 10px;
  /* margin-top: 10px; */
}

.slider-arrow-prev,
.slider-arrow-next {
  border: none;
  background-color: #ffffff;
  color: #212121;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.slider-arrow-prev:hover,
.slider-arrow-next:hover {
  background-color: #eeeeee;
}

.slider-arrow-prev-dark,
.slider-arrow-next-dark {
  border: none;
  background-color: #888;
  color: #212121;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
}

.slider-arrow-prev-dark:hover,
.slider-arrow-next-dark:hover {
  background-color: #555;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    padding: 100px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 80px 0;
  }
  
  section {
    padding: 60px 0;
  }
  
  .feature-box, .product-card, .testimonial-box {
    margin-bottom: 20px;
  }

  .centeredgrid {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .slider-container {
    padding: 10px 0;
    background-color: #fff;
    max-height: 100vh;
    max-width: 100vw;
    margin: auto;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 40px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}
