/**
 * TTMenus v2 - Contact Info Styles
 * Modern, user-friendly styling for contact information section
 */

/* ============================================
   CONTACT INFO CONTAINER
   ============================================ */

.contactinfobg {
    background: linear-gradient(var(--hero-bg-color, #000), var(--hero-bg-color, #000), var(--hero-bg-color, #000), var(--hero-bg-color, #000), var(--hero-bg-color, #000), transparent);
    z-index: 1;
    position: relative;
    padding-bottom: 2em;
}

.contactinfo {
    display: block;
    z-index: 1;
    position: relative;
    max-width: 640px;
    margin-inline: auto;
}

.contactinfo ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0em;
    margin: 0;
}

/* ============================================
   LOCATION NAVIGATION
   ============================================ */

.location-navigation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding: .5em 0;
    position: relative;
}

.locations-wrapper {
    flex: 1;
    max-width: 480px;
    width: 100%;
    overflow: hidden;
}

.locations {
    display: flex;
    gap: 1em;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .5em 0;
    margin: 0;
}

.locations::-webkit-scrollbar {
    height: .3em;
}

.locations::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
}

.locations::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .3);
    border-radius: 10px;
}

/* Location Items - Modern Card Design */
.location-item {
    display: flex;
    flex-direction: column;
    gap: .5em;
    padding: .5em;
    background: rgba(255, 255, 255, 5%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .3s ease;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(100%);
}

.location-item:hover {
    background: rgba(255, 255, 255, 8%);
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.location-item.active-location {
    background: rgba(76, 175, 80, 10%);
    border-color: rgba(76, 175, 80, .4);
    transform: scale(1.02);
}

/* Location Button */
.locbtn {
    display: flex;
    align-items: center;
    text-wrap-mode: wrap;
    gap: .8em;
    padding: .8em 1em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 8%), rgba(255, 255, 255, 4%));
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
    font-weight: 500;
    font-size: xx-small;
    width: -webkit-fill-available;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.locbtn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 12%), rgba(255, 255, 255, 8%));
    border-color: rgba(255, 255, 255, .3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.locbtn img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.location-item.active-location .locbtn {
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-color: #4caf50;
    color: #fff;
    font-weight: 600;
}

/* Delivery Toggle Button */
.delivery-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .6em 1em;
    background: linear-gradient(135deg, rgba(255, 107, 53, .2), rgba(247, 147, 30, .15));
    border: 2px solid rgba(255, 107, 53, .3);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
    font-size: xx-small;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
}

.delivery-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, .3), rgba(247, 147, 30, .25));
    border-color: rgba(255, 107, 53, .5);
    transform: translateY(-1px);
}

.delivery-toggle-btn svg {
    width: 24px;
    height: 24px;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    gap: .5em;
    transition: all .3s ease;
    flex-wrap: wrap;
    height: 3em;
}

.delivery-options.hide {
    display: none !important;
}

.delivery-option-btn {
    flex: 1;
    min-width: 120px;
    padding: .5em;
    background: rgba(255, 255, 255, 5%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    text-decoration: none;
}

.delivery-option-btn:hover {
    background: rgba(255, 255, 255, 10%);
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
}

.delivery-option-btn img {
    max-width: 80px;
    max-height: 32px;
    object-fit: contain;
}

/* Navigation Buttons */
.btn-nav-location {
    background: rgba(255, 255, 255, 10%);
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    pointer-events: auto;
    opacity: 1;
}

.btn-nav-location:hover {
    background: rgba(255, 255, 255, 20%);
    border-color: rgba(255, 255, 255, .4);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.btn-nav-location:active {
    transform: scale(.95);
}

.btn-nav-location:disabled,
.btn-nav-location[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-nav-location svg {
    width: 28px;
    height: 28px;
    height: 24px;
}

/* ============================================
   SOCIAL MEDIA SECTION
   ============================================ */

.socialmedia {
    display: flex;
    justify-content: center;
    gap: .6em;
    flex-wrap: wrap;
    padding: 0;
}

.socialmedia .btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 8%);
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.socialmedia .btn:hover {
    background: rgba(255, 255, 255, 15%);
    border-color: rgba(255, 255, 255, .3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.socialmedia .btn img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
}

/* ============================================
   CONTACT BUTTONS (WhatsApp & Phone)
   ============================================ */

.contact {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
    padding: 1em 0;
}

.contact .btn {
    display: flex;
    align-items: center;
    gap: .8em;
    padding: .9em 1.5em;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, .3);
    min-width: 160px;
    justify-content: center;
}

.contact .btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
    border-color: rgba(255, 255, 255, .3);
}

.contact .btn:active {
    transform: translateY(0);
}

.contact .btn img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

/* Phone button - different color */
.contact .btn[href^="tel:"] {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, .3);
}

.contact .btn[href^="tel:"]:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    box-shadow: 0 6px 20px rgba(102, 126, 234, .4);
}

/* ============================================
   SUBSCRIBE / INSTALL SECTION
   ============================================ */

.subscribe {
    display: flex;
    justify-content: center;
    gap: .8em;
    flex-wrap: wrap;
    padding: 1em 0;
}

.subscribe .btn,
.subscribe .subbtn {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .8em 1.2em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 10%), rgba(255, 255, 255, 5%));
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: .9em;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 140px;
    justify-content: center;
}

.subscribe .btn:hover,
.subscribe .subbtn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 15%), rgba(255, 255, 255, 10%));
    border-color: rgba(255, 255, 255, .3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.subscribe .subbtn {
    min-width: 160px;
}

.subscribe .btn img,
.subscribe .subbtn img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

.installBtn {
    display: none;
}

.installBtn:not(.hide) {
    display: flex;
}

/* ============================================
   APPLE INSTRUCTIONS MODAL
   ============================================ */

#SubBtnItems {
    margin-top: 1em;
}

#SubBtnItems.hide {
    display: none !important;
}

#appleMessage {
    background: rgba(0, 0, 0, .9);
    border-radius: 16px;
    padding: 1.5em;
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.appleInstallHide {
    display: none;
}

.appleInstallHide:not(.hide) {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 640px) {
    .contactinfo {
    }

    .location-item {
    }

    .contact .btn {
        min-width: 140px;
        padding: .8em 1.2em;
        font-size: .9em;
    }

    .subscribe .btn,
    .subscribe .subbtn {
        min-width: 120px;
        padding: .7em 1em;
        font-size: .85em;
    }

    .btn-nav-location {
        width: 36px;
        height: 36px;
    }

    .btn-nav-location svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 641px) {
    .locations {
        justify-content: center;
    }
}
