@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Exo+2:wght@700&display=swap');

/* General */
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  background: #f4f6fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #1e3a6b;
  font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 50px;
    margin-bottom: 30px;
}

/* Header */
header {
  background: #fff;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-container img {
    height: 50px;
}

.logo-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #1e3a6b;
}

nav a {
  color: #333;
  text-decoration: none;
  margin-left: 35px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e90ff;
    transition: width 0.3s ease;
}

nav a:hover, nav a.active {
  color: #1e90ff;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}


/* Banner */
.banner {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1351&q=80') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.banner h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.banner p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.banner-button {
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
}

.banner-button:hover {
  background: #155fa0;
  transform: translateY(-3px);
}

/* Produtos Section */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.produto-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.produto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.produto-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.produto-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
}

.produto-info p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.produto-preco {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e90ff;
  margin-bottom: 20px;
}

.add-cart-btn {
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
  font-weight: 500;
}

.add-cart-btn:hover {
  background: #155fa0;
}

/* Cart */
.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon svg {
    width: 30px;
    height: 30px;
    stroke: #333;
    stroke-width: 1.5;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ff4d4d;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.cart-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    text-align: left;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cart-modal-content h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #1e3a6b;
}

#cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 40vh;
    overflow-y: auto;
}

#cart-items-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#cart-items-list li:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-weight: bold;
    color: #333;
}

.cart-item-price {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-quantity {
    margin: 0 15px;
    font-size: 0.95rem;
    color: #555;
}

.remove-item-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    padding: 5px;
}

.remove-item-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.cart-empty-message {
    text-align: center;
    padding: 20px;
    color: #888;
}

#cart-total {
    margin-top: 25px;
    text-align: right;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e3a6b;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-buttons button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#close-cart-btn {
    background: #ddd;
}
#close-cart-btn:hover {
    background: #ccc;
}

#checkout-btn {
    background: #28a745;
    color: white;
}
#checkout-btn:hover {
    background: #218838;
}

/* Testimonials Section */
.testimonials {
  background: #eaf0fa;
  padding: 50px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-style: italic;
  color: #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #1e90ff;
}

.testimonial-card p::before {
    content: '"';
    font-size: 1.5rem;
    color: #1e90ff;
    font-weight: bold;
}
.testimonial-card p::after {
    content: '"';
    font-size: 1.5rem;
    color: #1e90ff;
    font-weight: bold;
}

.testimonial-card span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #1e3a6b;
  font-style: normal;
  text-align: right;
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}
.contact-form, .contact-info {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info h3, .contact-form h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-info svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Footer */
footer {
  background: #23272b;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #1e90ff;
    text-decoration: none;
}

/* Floating WhatsApp Button */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s;
    animation: float 3s ease-in-out infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-5px);
}
.whatsapp-fab svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add to cart animation */
.fly-to-cart {
    position: absolute;
    z-index: 2100;
    border-radius: 10px;
    transition: all 1s ease;
    object-fit: cover;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
    .banner h1 { font-size: 2.2rem; }
    .banner p { font-size: 1.1rem; }
    nav a { margin-left: 20px; }
    .logo-container span { font-size: 1.5rem; }
    .logo-container img { height: 40px; }
} 