/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(100, 100, 100);
  color: whitesmoke;
  font-family: 'Times New Roman', Times, serif;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.details {
  color: rgb(250, 156, 122);
  text-align: center;
}

h1, h2, h3, h4 {
  margin-bottom: 15px;
}

h3 {
  font-size: 1.5rem;
  color: #333;
}

p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4px;
}

/* ===== RESPONSIVE GRID SYSTEM ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Columns - mobile first (full width) */
.col-md-3, .col-md-4 {
  width: 100%;
  padding: 0 15px;
  margin-bottom: 30px;
}

/* ===== CARD COMPONENTS ===== */
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-body h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card-body p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  flex: 1;
}

.price {
  color: #ff9800;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 15px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 20px 0;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 2;
}

.carousel-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
}

/* ===== FOOTER ===== */
.about-section {
  background-image: url('../static/myimages/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
  margin-top: 40px;
  color: black;
}

.about-column {
  background: #f9f9f9; /* Your original color */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 250px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
;
  padding: 0 15px;
}


.about-column h3 {
  color: rgb(12, 139, 12);
  margin-bottom: 15px;
}

.about-column p {
  color: #333;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  color: #333;
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #0c8b0c;
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom a:hover {
  color: #065e06;
  text-decoration: underline;
}

/* ===== MARQUEE ===== */
marquee {
  padding: 4px 0;
  margin: 20px 0;
}

marquee h3 {
  font-size: 1.5rem;
  color: #333;
  font-style: italic;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
  .carousel {
    height: 350px;
  }
  
  .col-md-3 {
    width: 50%; /* 2 columns */
  }
  
  .col-md-4 {
    width: 50%; /* 2 columns */
  }
  
  .card img {
    height: 220px;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .carousel {
    height: 450px;
  }
  
  .col-md-3 {
    width: 25%; /* 4 columns */
  }
  
  .col-md-4 {
    width: 33.333%; /* 3 columns */
  }
  
  .card img {
    height: 250px;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
  .carousel {
    height: 300px;
  }
  
  .carousel-buttons button {
    padding: 8px 12px;
    font-size: 16px;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .btn {
    width: 100%;
    padding: 12px;
  }
  
  marquee h3 {
    font-size: 1.2rem;
  }
  
  .about-column {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .carousel {
    height: 250px;
  }
  
  .card img {
    height: 180px;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .price {
    font-size: 1.1rem;
  }
}