@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Inter:wght@300;400;700&display=swap');

:root {
    --royal-blue: #002366;
    --accent-blue: #0046ad;
    --soft-cream: #f9f7f2;
}

/* Overriding Bootstrap's body background and color for the new template */
body.template-design {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-cream);
    color: var(--royal-blue);
    line-height: 1.6;
}

.template-design h1, 
.template-design h2, 
.template-design h3 {
    font-family: 'Playfair Display', serif;
}

.template-design .btn-editorial {
    background-color: var(--royal-blue);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none; /* Add this to remove underline from links styled as buttons */
}

.template-design .btn-editorial:hover {
    background-color: var(--accent-blue);
    padding-right: 3rem;
    color: white;
}

.template-design .image-container {
    overflow: hidden;
    border-radius: 20px;
}

.template-design .image-container img {
    transition: transform 1.2s ease;
}

.template-design .image-container:hover img {
    transform: scale(1.05);
}

.template-design .bento-card {
    background: white;
    border: 1px solid rgba(0, 35, 102, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%; /* Ensure cards in the same row have the same height */
}

.template-design .bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.05);
    border-color: var(--accent-blue);
}

.template-design .line-accent {
    width: 60px;
    height: 2px;
    background-color: var(--accent-blue);
    margin: 1.5rem 0;
}

/* Reveal animation classes will be used from the template */
.template-design .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s all ease;
}

.template-design .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom styles for product cards in the new design */
.template-design .product-card-reimagined {
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(0, 35, 102, 0.08);
    padding: 1rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.template-design .product-card-reimagined:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.06);
}

.template-design .product-card-reimagined .product-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.template-design .product-card-reimagined img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


