/* Minimal Container */
.craft-section {
    /* padding: 80px 0; */
    background: #F7F7F7;
    text-align: center;
}

.section-title {
    font-size: 42px;
    color: #002147;
    margin-bottom: 16px;
    font-family: 'Crimson Text', Georgia, serif;
}

.section-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 720px;
    margin: 0 auto 60px;
    font-family: 'Mulish', sans-serif;
}

/* Minimal Full-Width Cards */
.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    /* width: 100vw; */
    margin-left: calc(-50vw + 50%);
}

@media (min-width: 768px) {
    .cards-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
}

.craft-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .craft-card {
        height: 650px;
    }
}

@media (max-width: 480px) {
    .mobile-text-container {
        width: 100%;
    }
}

/* Light overlay - only at bottom for text readability */
.craft-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.4) 80%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Hover effect */
.craft-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: inherit;
    transition: transform 0.8s ease;
    z-index: 0;
}

.craft-card:hover::after {
    transform: scale(1.08);
}

/* Content with minimal DOM */
.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 600px;
}

.card-content-th {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 600px;
}

/* Badge using data attribute */
.card-content::before {
    content: attr(data-badge);
    display: inline-block;
    background: white;
    color: #C68642;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.card-content-th::before {
    content: attr(data-badge);
    display: inline-block;
    background: white;
    color: #C68642;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 48px;
    margin-bottom: 20px;
    /* font-family: 'Crimson Text', Georgia, serif; */
}

.card-title-th {
    font-size: 36px;
    margin-bottom: 20px;
    /* font-family: 'Crimson Text', Georgia, serif; */
}

.card-description {
    /* font-size: 14px; */
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
/*    font-family: 'Mulish', sans-serif; */
}

.card-link {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: #002147;
    text-decoration: none;
    /*font-weight: 600; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s ease;
    
}

.card-link:hover {
    background: #F7F7F7;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Lighter treatment for images */
.flowers-card {
    background-image: url('https://images.unsplash.com/photo-1502977249166-824b3a8a4d6d?w=1200&h=700&fit=crop&q=80');
}

.chocolate-card {
    background-image: url('https://i.natgeofe.com/n/d54b8493-ac59-4160-9c25-456a7185f095/handmade-chocolate-paul-a-young-london.jpg');
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .card-title {
        font-size: 36px;
    }

    .card-content {
        padding: 32px 24px;
    }

    .craft-card {
        height: 450px;
    }
    .h-\[230px\] {
        height: 230px;
    }
}

/* Alternative: Bright overlay version */
.bright-overlay .craft-card::before {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(0, 0, 0, 0.3) 80%,
            rgba(0, 0, 0, 0.6) 100%);
}

/* Alternative: Split layout with no overlay */
.split-layout {
    background: white;
    padding: 0;
}

.split-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 500px;
}

@media (min-width: 768px) {
    .split-card {
        grid-template-columns: 1fr 1fr;
    }
}

.split-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.split-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F7F7F7;
}

.split-badge {
    display: inline-block;
    background: white;
    color: #C68642;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-family: 'Mulish', sans-serif;
    align-self: flex-start;
}

.split-title {
    font-size: 42px;
    color: #002147;
    margin-bottom: 20px;
    font-family: 'Crimson Text', Georgia, serif;
}

.split-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 32px;
    font-family: 'Mulish', sans-serif;
}

.split-link {
    display: inline-block;
    padding: 16px 32px;
    background: #002147;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Mulish', sans-serif;
    align-self: flex-start;
}

.split-link:hover {
    background: #24456B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.3);
}

.logoblock .swiper-slide img {
    display: block;
    width: 150px;
    height: 48px;
}

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/mulish/Mulish-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.max-width-350px {
    max-width: 350px !important;
}