/* Main theme styles for Olivia's Crafts */

:root {
    --pink-color: #ff9ec5;
    --dark-blue-color: #1a237e;
    --text-on-pink: #333;
    --text-on-blue: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(to right, var(--pink-color) 50%, var(--dark-blue-color) 50%);
}

/* Split background with hearts and stars */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 20c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z' fill='%23ff6699'/%3E%3Cpath d='M30 10c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 40c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm20-20c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm-40 0c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm35-15c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm-30 30c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm30 0c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm-30-30c-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z' fill='%23ff6699'/%3E%3C/svg%3E");
    background-size: 100px;
    opacity: 0.2;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5l3.5 10.5H45l-9 6.5 3.5 10.5-9.5-7-9.5 7 3.5-10.5-9-6.5h11.5z' fill='%23ffffff'/%3E%3Cpath d='M15 20l2 6h6l-5 3.5 2 6-5-3.5-5 3.5 2-6-5-3.5h6z' fill='%23ffffff'/%3E%3Cpath d='M45 40l2 6h6l-5 3.5 2 6-5-3.5-5 3.5 2-6-5-3.5h6z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100px;
    opacity: 0.2;
    z-index: -1;
}

/* Container adjustments for the split theme */
.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Navigation styling */
.navbar {
    background: linear-gradient(to right, var(--pink-color) 50%, var(--dark-blue-color) 50%);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    padding: 10px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.active {
    background: var(--pink-color);
    color: var(--text-on-pink);
    border-radius: 10px;
}

/* Button styling */
.btn-primary {
    background-color: var(--dark-blue-color);
    border-color: var(--dark-blue-color);
}

.btn-secondary {
    background-color: var(--pink-color);
    border-color: var(--pink-color);
    color: var(--text-on-pink);
}

/* Card styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

/* Footer styling */
footer {
    background: linear-gradient(to right, var(--pink-color) 50%, var(--dark-blue-color) 50%);
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

.footer-left {
    color: var(--text-on-pink);
}

.footer-right {
    color: var(--text-on-blue);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.footer-right h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-right p, .footer-right a {
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-right a {
    color: var(--text-on-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-right a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-version {
    color: var(--dark-blue-color) !important;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

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

.product-showcase {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

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

.product-card-body {
    flex: 1;
    padding-bottom: 1.25rem;
}

/* Form styling */
.form-control:focus {
    border-color: var(--pink-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 158, 197, 0.25);
}

/* Custom request form */
.custom-request-form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        background: linear-gradient(to bottom, var(--pink-color) 50%, var(--dark-blue-color) 50%);
    }
    
    body::before {
        width: 100%;
        height: 50%;
    }
    
    body::after {
        left: 0;
        top: 50%;
        width: 100%;
        height: 50%;
    }
    
    .navbar, footer {
        background: linear-gradient(to bottom, var(--pink-color) 50%, var(--dark-blue-color) 50%);
    }
}
