body {
    background-color: #f8f9fa;
}

.dark-mode {
    background-color: #343a40;
    color: white;
}

.navbar {
    background: linear-gradient(180deg, #3b8994, #2f6f7a);
}

.navbar a {
    color: white;
}

.header {
  background: url('../images/banner.png') no-repeat center center;
  background-size: cover;
  height: 400px;
  padding: 20px;
  text-align: center;
}

.header-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  max-width: 90%;
  margin-top: clamp(20px, 5vh, 40px);
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.header-text .tagline {
  font-size: 1rem;
  opacity: 0.85;
}

@media (max-width: 576px) {
  .header {
    height: auto;
    padding: 30px 10px;
  }
  .header-overlay {
    flex-direction: column;
    text-align: center;
  }
  .header-logo img {
    height: 50px;
    margin-bottom: 10px;
  }
  .header-text h1 {
    font-size: 1.5rem;
  }
  .header-text .tagline {
    font-size: 0.9rem;
  }
}

.content-section {
    padding: 50px 20px;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 10px;
}

.product-tile {
    cursor: pointer;
    transition: .3s;
    padding: 30px;
    background-color: #3b8994;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 10px;
    min-width: 200px;
    color: white;
    user-select: none;
}

.list-tile {
    cursor: pointer;
    transition: .3s;
    padding: 10px;
    background: linear-gradient(180deg, rgb(50, 78, 82), #2f6f7a);
    text-align: center;
    font-size: 1.5rem;
    min-width: 200px;
    color: white;
    user-select: none;
}

.dark-mode .product-tile {
    background: linear-gradient(90deg, #4a4a4a, #2f2f2f);
}

.product-tile:hover {
    transform: scale(1.05);
}

.dark-mode .product-tile:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.row {
    padding: 30px;
}


#products {
    background-color: #94e3ee88;
}

.btn {
    background-color: #3b8994;
}

h4 {
    display: flex;
    text-align: center;
    padding: 10px;
    white-space: nowrap;
}

.intercars-tile {
    background-color: #d71920;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    margin: 20px auto;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intercars-tile:hover {
    background-color: #a11218;
}

.title-bar {
    width: 100%;
    padding: 5px;
    background: linear-gradient(90deg, #2f2f2f, #4a4a4a);
    color: white;
    text-align: center;
    margin-top: 10px;
    font-family: "Lucida Console";
    font-variant: small-caps;
    font-size: 1.4rem;
}

#product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-list-tile {
    width: 100%;
    background-color: rgb(255, 255, 255);
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.product-list-tile h4 {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    color: black;
}

.product-list-tile:hover {
    background-color: rgba(224, 224, 224, 0.72);
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.product-expanded {
    width: 100%;
    display: flex;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .product-expanded {
    color: black;
}

.product-expanded-image {
    max-height: 400px;
    object-fit: contain;
}

.product-details {
    padding: 20px;
}

.shop-button {
    background-color: #D51224;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2rem;
}

.shop-button:hover {
    background-color: #b4101e;
}

.header-credit {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.header-credit a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.header-credit a:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 5px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    position: relative;
}

.modal-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.modal-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    padding: 10px 20px;
}

.modal-content::-webkit-scrollbar {
    width: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 5px;
}

.vertical-line {
    width: 3px;
    height: 350px;
    background: gray;
}

.modal-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.dark-mode .modal-section {
    color: black;
}

.purchase-btn {
    background: #3b8994;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
}

.purchase-btn:hover {
    background: #31707d;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 34px;
    cursor: pointer;
    color: black;
}

@media (min-width: 1024px) {
    .product-list-tile {
        width: 32%;
    }
}

@media (max-width: 768px) {
    .modal-container {
        flex-direction: column;
    }

    .vertical-line {
        display: none;
    }

    @media (min-width: 600px) {
        .product-list-tile {
            width: 48%;
        }
    }
}

.about-logo {
    max-height: 120px;
    object-fit: contain;
}

.guarantee-box {
    background-color: #f8f9fa;
    border-left: 5px solid #3b8994;
    overflow: hidden;
}

.guarantee-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.guarantee-item.show {
    opacity: 1;
    transform: translateX(0);
}

body.dark-mode .guarantee-item.show {
    color: #000;
}

body.dark-mode .guarantee-box h5 {
    color: #000;
}

.bi-check-circle-fill {
    color: #3b8994;
    padding-right: 15px;
}

.feature-card i {
    transition: transform 0.3s;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.small-feature-card {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.small-feature-card:hover {
    background-color: #e9f1f3;
    transform: translateY(-3px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 1rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: .5rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}