/* =========================================
   TRInCo 2026
   OFFICIAL INVITATION SECTION
   Maroon + Gold Theme
========================================= */

.conference-invitation-section {
    position: relative;

    padding: 95px 20px;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(201, 162, 39, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 85%,
            rgba(107, 31, 42, 0.08),
            transparent 30%
        ),
        #fcf9f2;

    overflow: hidden;
}


/* =========================================
   Decorative Background
========================================= */

.conference-invitation-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -250px;
    right: -180px;

    border: 1px solid rgba(201, 162, 39, 0.15);

    border-radius: 50%;

    pointer-events: none;
}


.conference-invitation-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    bottom: -220px;
    left: -160px;

    border: 1px solid rgba(107, 31, 42, 0.10);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================
   SECTION HEADER
========================================= */

.invitation-header {
    position: relative;

    z-index: 2;

    max-width: 780px;

    margin: 0 auto 60px;

    text-align: center;
}


/* Small eyebrow */

.invitation-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-bottom: 14px;

    color: #9b7a18;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.invitation-eyebrow i {
    color: #c9a227;

    font-size: 15px;
}


/* Main heading */

.invitation-title {
    margin: 0;

    color: #6b1f2a;

    font-family: "Poppins", sans-serif;

    font-size: clamp(34px, 5vw, 50px);

    font-weight: 700;

    line-height: 1.2;
}


/* =========================================
   Gold Divider
========================================= */

.invitation-divider {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 190px;

    margin: 20px auto;
}


.invitation-divider span {
    height: 1px;

    flex: 1;

    background: linear-gradient(
        90deg,
        transparent,
        #c9a227
    );
}


.invitation-divider span:last-child {
    background: linear-gradient(
        90deg,
        #c9a227,
        transparent
    );
}


.invitation-divider i {
    color: #c9a227;

    font-size: 10px;

    transform: rotate(45deg);
}


/* Description */

.invitation-description {
    max-width: 650px;

    margin: 0 auto;

    color: #765f62;

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   INVITATION GRID
========================================= */

.invitation-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(280px, 520px));

    justify-content: center;

    gap: 40px;

    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================
   INVITATION CARD
========================================= */

.invitation-card {
    position: relative;

    background: #ffffff;

    border-radius: 6px;

    overflow: hidden;

    border: 1px solid rgba(107, 31, 42, 0.15);

    box-shadow:
        0 10px 30px rgba(65, 30, 35, 0.08),
        0 3px 8px rgba(65, 30, 35, 0.04);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


.invitation-card:hover {
    transform: translateY(-10px);

    border-color: rgba(201, 162, 39, 0.65);

    box-shadow:
        0 22px 50px rgba(65, 30, 35, 0.15),
        0 8px 20px rgba(201, 162, 39, 0.10);
}


/* =========================================
   IMAGE WRAPPER
========================================= */

.invitation-image-wrapper {
    position: relative;

    padding: 12px;

    background:
        linear-gradient(
            135deg,
            #fffdf8,
            #f8f1e3
        );

    overflow: hidden;

    line-height: 0;
}


.invitation-image-wrapper img {
    width: 100%;
    height: auto;

    display: block;

    border: 1px solid rgba(201, 162, 39, 0.35);

    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}


.invitation-card:hover
.invitation-image-wrapper img {
    transform: scale(1.025);
}


/* =========================================
   GOLD CORNER DETAILS
========================================= */

.corner {
    position: absolute;

    width: 28px;
    height: 28px;

    z-index: 3;

    pointer-events: none;
}


.corner-top-left {
    top: 18px;
    left: 18px;

    border-top: 2px solid #c9a227;
    border-left: 2px solid #c9a227;
}


.corner-top-right {
    top: 18px;
    right: 18px;

    border-top: 2px solid #c9a227;
    border-right: 2px solid #c9a227;
}


.corner-bottom-left {
    bottom: 18px;
    left: 18px;

    border-bottom: 2px solid #c9a227;
    border-left: 2px solid #c9a227;
}


.corner-bottom-right {
    bottom: 18px;
    right: 18px;

    border-bottom: 2px solid #c9a227;
    border-right: 2px solid #c9a227;
}


/* =========================================
   NUMBER BADGE
========================================= */

.invitation-number {
    position: absolute;

    top: 25px;
    left: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #6b1f2a,
            #8b2635
        );

    border: 2px solid #c9a227;

    border-radius: 50%;

    font-family: "Poppins", sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
        0 5px 15px rgba(65, 30, 35, 0.25);

    transition:
        transform 0.4s ease,
        background 0.3s ease;
}


.invitation-card:hover
.invitation-number {
    transform: rotate(8deg) scale(1.08);

    background: #c9a227;
}


/* =========================================
   HOVER OVERLAY
========================================= */

.invitation-overlay {
    position: absolute;

    inset: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(107, 31, 42, 0.88),
            rgba(75, 20, 30, 0.82)
        );

    opacity: 0;

    transition: opacity 0.35s ease;
}


.invitation-card:hover
.invitation-overlay {
    opacity: 1;
}


/* =========================================
   VIEW BUTTON
========================================= */

.invitation-view-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 24px;

    color: #6b1f2a;

    background: #ffffff;

    border: 1px solid #c9a227;

    border-radius: 50px;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);

    transform: translateY(15px);

    transition:
        transform 0.35s ease,
        color 0.3s ease,
        background 0.3s ease;
}


.invitation-card:hover
.invitation-view-btn {
    transform: translateY(0);
}


.invitation-view-btn:hover {
    color: #ffffff;

    background: #c9a227;

    border-color: #c9a227;
}


/* =========================================
   CARD FOOTER
========================================= */

.invitation-card-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 20px 22px;

    background: #ffffff;

    border-top: 3px solid #c9a227;
}


/* Label */

.card-label {
    display: block;

    margin-bottom: 4px;

    color: #a27c13;

    font-family: "Poppins", sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* Card title */

.invitation-card-footer h3 {
    margin: 0;

    color: #6b1f2a;

    font-family: "Poppins", sans-serif;

    font-size: 18px;

    font-weight: 600;
}


/* =========================================
   OPEN BUTTON
========================================= */

.small-view-btn {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #6b1f2a;

    background: #fbf5e5;

    border: 1px solid rgba(201, 162, 39, 0.35);

    border-radius: 50%;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.small-view-btn:hover {
    color: #ffffff;

    background: #6b1f2a;

    border-color: #6b1f2a;

    transform: rotate(8deg);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .conference-invitation-section {
        padding: 75px 20px;
    }

    .invitation-grid {
        grid-template-columns:
            repeat(2, minmax(240px, 1fr));

        gap: 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .conference-invitation-section {
        padding: 60px 15px;
    }


    .invitation-header {
        margin-bottom: 40px;
    }


    .invitation-eyebrow {
        font-size: 10px;

        letter-spacing: 1.2px;
    }


    .invitation-title {
        font-size: 30px;
    }


    .invitation-description {
        font-size: 14px;
    }


    .invitation-grid {
        grid-template-columns: 1fr;

        gap: 28px;

        max-width: 520px;
    }


    .invitation-card-footer {
        padding: 17px 18px;
    }


    .invitation-card-footer h3 {
        font-size: 16px;
    }


    /*
       On mobile there is no hover.
       Keep a subtle View Invitation button visible.
    */
    .invitation-overlay {
        opacity: 1;

        align-items: flex-end;

        padding-bottom: 20px;

        background:
            linear-gradient(
                180deg,
                transparent 60%,
                rgba(107, 31, 42, 0.55)
            );
    }


    .invitation-view-btn {
        padding: 9px 18px;

        font-size: 11px;

        transform: none;
    }


    .invitation-number {
        width: 37px;
        height: 37px;

        top: 23px;
        left: 23px;

        font-size: 10px;
    }


    .corner {
        width: 22px;
        height: 22px;
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

.invitation-view-btn:focus-visible,
.small-view-btn:focus-visible {
    outline: 3px solid rgba(201, 162, 39, 0.5);

    outline-offset: 3px;
}
