/* The Dearly Made LLC - Custom Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text) !important;
}

.navbar-nav .nav-link {
    color: var(--light-text) !important;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cart-badge {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
}

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

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

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

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

.btn-custom:hover {
    background-color: #c0392b;
    color: var(--light-text);
    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;
    margin-bottom: 30px;
}

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

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

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

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

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

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

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

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

.variant-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.variant-btn:hover,
.variant-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Cart Page */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

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

.cart-summary {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px 0 20px;
}

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

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

footer ul {
    list-style: none;
    padding: 0;
}

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

.subscribe-form input {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 70%;
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #c0392b;
}

/* About Us Page */
.about-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-info-item {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

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

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

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

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

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