/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: #0078b6;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-align: center;
}

.btn:hover {
    background-color: #005f8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 182, 0.15);
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 35px;
    height: 35px;
}

.logo h1 {
    font-size: 24px;
    color: #0078b6;
    margin: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0078b6;
}

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

.cart-icon i {
    font-size: 22px;
    color: #0078b6;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-dropdown {
    position: absolute;
    top: 40px;
    right: -10px;
    width: 320px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 100;
    display: none;
}

.cart-dropdown h3 {
    margin-bottom: 15px;
    color: #0078b6;
    font-size: 18px;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
}

.cart-item-price {
    color: #777;
    font-size: 13px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-item-quantity {
    font-size: 14px;
    width: 30px;
    text-align: center;
}

.cart-item-remove {
    color: #ff6b6b;
    cursor: pointer;
    font-size: 14px;
}

.cart-total {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-total p {
    font-weight: 600;
    font-size: 16px;
    text-align: right;
}

.empty-cart {
    text-align: center;
    color: #777;
    padding: 15px 0;
}

/* Hero section */
.hero {
    background-color: #e6f7ff;
    position: relative;
    padding: 60px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 42px;
    color: #0078b6;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Products section */
.products {
    background-color: #f9fbfd;
    text-align: center;
}

.products h2 {
    font-size: 36px;
    color: #0078b6;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 18px;
}

.filters {
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-box button {
    background-color: #0078b6;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    cursor: pointer;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0078b6;
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.product-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.product-details {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: #0078b6;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    background-color: #0078b6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.add-to-cart:hover {
    background-color: #005f8f;
}

/* About section */
.about {
    background-color: white;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    color: #0078b6;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li i {
    color: #0078b6;
    font-size: 18px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

/* Contact section */
.contact {
    background-color: #f9fbfd;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #0078b6;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: #0078b6;
    font-size: 22px;
    margin-top: 5px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0078b6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #005f8f;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0078b6;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
footer {
    background-color: #0e2a38;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 30px;
}

.footer-logo h3 {
    font-size: 20px;
    margin: 0;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #4db5ff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-newsletter h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #4db5ff;
}

.footer-newsletter p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.footer-newsletter .btn {
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 15px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cart-icon {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
