/* ============================================================
   footer.css — Modern corporate footer (Laven Diamond)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

.lvn-footer {
    --lvn-primary: var(--primary, #7A0B1E);
    --lvn-primary-dark: #4a0f1c;
    --lvn-primary-light: #9c2338;
    --lvn-gold: var(--primary-2, #957127);
    --lvn-ink: #241512;
    --lvn-muted: #8a7a6d;
    --lvn-border: #e7dfd3;
    --lvn-cream: #fffcf7;
    --lvn-primary-soft: rgba(122, 11, 30, .07);
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Poppins', sans-serif;
    position: relative;
    background: var(--lvn-cream);
    overflow: hidden;
}

.lvn-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lvn-primary), var(--lvn-gold), var(--lvn-primary));
    z-index: 2;
}

/* ── CATEGORY STRIP ──────────────────────────────────────── */
.lvn-footer-cats {
    background: #fff;
    border-bottom: 1px solid var(--lvn-border);
    padding: 26px 0;
}

.lvn-footer .lvn-cat-list {
    display: flex;
    gap: 14px;
    overflow: auto;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

.lvn-footer .lvn-cat-list::-webkit-scrollbar {
    display: none;
}

.lvn-footer .lvn-cat-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 24px !important;
    border: 1px solid var(--lvn-border) !important;
    border-radius: 100px !important;
    background: #fff;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.lvn-footer .lvn-cat-link .text {
    font-family: var(--font-body);
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .1em;
    color: var(--lvn-ink);
    transition: color .3s ease;
}

.lvn-footer .lvn-cat-link .icon {
    font-size: 11px;
    color: var(--lvn-gold);
    transition: transform .3s ease;
}

.lvn-footer .lvn-cat-link:hover {
    border-color: var(--lvn-primary) !important;
    background: var(--lvn-primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(122, 11, 30, .4);
}

.lvn-footer .lvn-cat-link:hover .text {
    color: var(--lvn-primary);
}

.lvn-footer .lvn-cat-link:hover .icon {
    color: var(--lvn-primary);
    transform: translate(2px, -2px);
}

/* ── MAIN FOOTER — 4 COLUMN CORPORATE GRID ──────────────── */
.lvn-footer-main {
    padding: 64px 0 52px;
}

.lvn-footer .lvn-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
}

@media (min-width: 576px) {
    .lvn-footer .lvn-footer-columns {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 32px;
        row-gap: 44px;
    }

    .lvn-footer .lvn-footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .lvn-footer .lvn-footer-columns {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        column-gap: 48px;
    }

    .lvn-footer .lvn-footer-col-brand {
        grid-column: auto;
        padding-right: 24px;
    }
}

.lvn-footer .footer-col-block,
.lvn-footer .lvn-footer-col {
    min-width: 0;
}

/* ── BRAND COLUMN ────────────────────────────────────────── */
.lvn-footer-logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.lvn-footer-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.lvn-footer-social-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lvn-muted);
    margin-bottom: 14px;
}

.lvn-footer-social-label .text-primary {
    color: var(--lvn-primary) !important;
}

.lvn-footer .lvn-footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.lvn-footer-desc {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--lvn-muted);
    max-width: 320px;
    margin: 0 0 20px;
}

.lvn-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 100px;
    background: var(--lvn-primary-soft);
    color: var(--lvn-primary);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.lvn-footer-badge i {
    color: var(--lvn-gold);
    font-size: 12px;
}

.lvn-footer-badge .fst-italic {
    font-style: italic;
    font-weight: 500;
}

/* ── LINK COLUMNS ────────────────────────────────────────── */
.lvn-footer .lvn-col-heading {
    font-family: var(--font-head);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--lvn-ink);
    margin-bottom: 16px;
}

/* The theme's own mobile accordion toggle (+/-) also lives on ::after/::before
   of this heading below 576px, so the decorative underline bar is desktop-only
   to avoid colliding with it. */
@media (min-width: 576px) {
    .lvn-footer .lvn-col-heading {
        display: inline-flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 22px !important;
    }

    .lvn-footer .lvn-col-heading::after {
        content: '';
        display: block;
        width: 28px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--lvn-primary), var(--lvn-gold));
    }
}

/* Mobile accordion (<576px): main.js toggles .open on .footer-col-block and
   slides .tf-collapse-content — these classes and this exact mechanism must
   stay, this only handles the +/- toggle glyph and initial collapsed state. */
@media (max-width: 575px) {
    .lvn-footer .footer-heading-mobile {
        display: block;
        position: relative;
        padding-right: 20px;
    }

    .lvn-footer .footer-heading-mobile::after {
        position: absolute;
        content: '';
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 2px;
        background-color: var(--lvn-ink);
        transition: .25s ease-in-out;
    }

    .lvn-footer .footer-heading-mobile::before {
        position: absolute;
        content: '';
        right: 5px;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 2px;
        height: 14px;
        background-color: var(--lvn-ink);
        transition: .25s ease-in-out;
    }

    .lvn-footer .footer-col-block.open .footer-heading-mobile::before {
        opacity: 0;
    }

    .lvn-footer .footer-col-block.open .footer-heading-mobile::after {
        transform: translate(0, -50%) rotate(180deg);
    }

    .lvn-footer .footer-col-block .tf-collapse-content {
        display: none;
    }
}

.lvn-footer .footer-menu-list {
    display: grid;
    gap: 14px;
}

.lvn-footer .footer-menu-list li a,
.lvn-footer .lvn-contact-list li a {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--lvn-muted) !important;
    text-decoration: none !important;
    transition: color .25s ease, transform .25s ease;
    display: inline-block;
}

.lvn-footer .footer-menu-list li a:hover {
    color: var(--lvn-primary) !important;
    transform: translateX(4px);
}

/* İletişim — icon rows */
.lvn-footer .lvn-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.lvn-footer .lvn-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lvn-footer .lvn-contact-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    color: var(--lvn-primary);
    background: var(--lvn-primary-soft);
}

.lvn-footer .lvn-contact-list li a {
    padding-top: 7px;
    line-height: 1.5;
}

.lvn-footer .lvn-contact-list li a:hover {
    transform: none;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Social icons (shared look for brand-column social) */
.lvn-footer .tf-social-icon {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lvn-footer .tf-social-icon a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lvn-border);
    color: var(--lvn-ink) !important;
    transition: all .3s ease;
}

.lvn-footer .tf-social-icon a .icon {
    font-size: 14px;
}

.lvn-footer .tf-social-icon a:hover {
    background: linear-gradient(135deg, var(--lvn-primary), var(--lvn-primary-light));
    border-color: var(--lvn-primary);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(122, 11, 30, .5);
}

/* ── BOTTOM BAR ──────────────────────────────────────────── */
.lvn-footer-bottom {
    background: var(--lvn-cream);
    border-top: 1px solid var(--lvn-border);
    padding: 20px 0 34px;
}

.lvn-footer .lvn-footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.lvn-footer .lvn-footer-copy,
.lvn-footer .lvn-footer-credit {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--lvn-muted);
    margin: 0;
}

.lvn-footer .lvn-footer-credit {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .lvn-footer-main {
        padding: 52px 0 44px;
    }
}

@media (max-width: 575px) {
    .lvn-footer-cats {
        padding: 20px 0;
    }

    .lvn-footer .lvn-cat-link {
        padding: 9px 18px !important;
    }

    .lvn-footer-main {
        padding: 44px 0 36px;
    }

    .lvn-footer .lvn-footer-bottom-wrap {
        justify-content: center;
        text-align: center;
    }
}

/* ── MOBILE BOTTOM TOOLBAR ───────────────────────────────── */
.tf-toolbar-bottom {
    display: none;
    padding: 12px 15px;
    position: fixed;
    z-index: 200;
    bottom: 0;
    right: 0;
    left: 0;
    border-top: 1px solid var(--lvn-border, #eee);
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(163, 163, 163, .28);
}

.tf-toolbar-bottom .toolbar-item {
    flex: 1 0 20%;
    position: relative;
}

.tf-toolbar-bottom a {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tf-toolbar-bottom .toolbar-icon {
    font-size: 20px;
    position: relative;
    display: flex;
}

.tf-toolbar-bottom .toolbar-count {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lvn-primary, #7A0B1E);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
    line-height: 15px;
    color: #fff;
}

.tf-toolbar-bottom .toolbar-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

@media (max-width: 1199px) {
    .tf-toolbar-bottom {
        display: flex;
    }
}

/* ── FLOATING CONTACT WIDGET ─────────────────────────────── */
.contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary, #7a0b1e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    transition: all .3s ease;
    z-index: 999;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

.contact-btn.active {
    transform: rotate(45deg);
}

.contact-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.contact-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 998;
    min-width: 200px;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-popup h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    color: #333;
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    transform: translateX(5px);
}

.contact-option.phone {
    background: #e3f2fd;
}

.contact-option.phone:hover {
    background: #2196f3;
    color: white;
}

.contact-option.whatsapp {
    background: #e8f5e9;
}

.contact-option.whatsapp:hover {
    background: #25d366;
    color: white;
}

.contact-option svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-option.phone svg {
    fill: #2196f3;
}

.contact-option.whatsapp svg {
    fill: #25d366;
}

.contact-option:hover svg {
    fill: white;
}

.contact-option span {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-btn {
        width: 55px;
        height: 55px;
        bottom: 80px;
        right: 20px;
    }

    .contact-popup {
        bottom: 85px;
        right: 20px;
        left: 20px;
        min-width: auto;
    }
}
