/* Heartfelt Handmade Store LLC - Custom Styles */

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DEB887;
    --light-color: #F5F5DC;
    --dark-color: #2F1810;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color) !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border-color: var(--accent-color);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-custom {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-card-body {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-sale-price {
    font-size: 1.1rem;
    color: var(--danger-color);
    text-decoration: line-through;
    margin-right: 10px;
}

.product-original-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Product Detail Page */
.product-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: var(--primary-color);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cart Styles */
.cart-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fff;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

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

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

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

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
}

footer .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

footer .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

footer .btn {
    background-color: var(--secondary-color);
    border: none;
    color: white;
}

footer .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Policy Pages */
.policy-section {
    padding: 50px 0;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--dark-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-info-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

/* About Page */
.about-section {
    padding: 50px 0;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Banner Images */
.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-detail-image {
        height: 350px;
    }
}

/* Badge Styles */
.badge-sale {
    background-color: var(--danger-color);
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

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

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