/*
Theme Name: Maisondeluxenails
Description: This is a child theme for GeneratePress Theme
Author: Maison De Luxe Nails
Template: generatepress
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.gb-headline-67dbaf06.gb-headline-text,
.gb-headline-5ef352e9.gb-headline-text,
.gb-headline-5ef352e9.gb-headline-text strong,
.gb-headline-674d2a2e.gb-headline-text {}

/* AFFORDABLE LUXURY CUSTOM CSS */
.affordable-luxury-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 120px 40px;
    /* larger top gap due to overflowing elements */
    padding: 100px 15px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .affordable-luxury-grid {
        grid-template-columns: 1fr;
        gap: 140px 20px;
    }
}

.al-card {
    background: #e9e5db;
    /* Light beige matching sample */
    padding: 100px 30px 40px;
    position: relative;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.al-title {
    position: absolute;
    top: -120px;
    /* Above the images */
    left: 0;
    width: 100%;
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
}

.al-images-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    top: -70px;
    /* Half overlapping the card */
    left: 0;
    width: 100%;
}

.al-image-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Optional shadow */
}

/* Adjust image position if you want the second image to show a different part of the same image */
.al-image-circle-2 {
    background-position: top center;
}

.al-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.al-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: -22px;
    /* Overlapping bottom edge */
    left: 0;
    width: 100%;
}

.al-btn {
    background: #e9e5db;
    color: #222;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.al-btn:hover {
    background: #fff;
    color: #000;
    border-color: #e9e5db;
}

/* ==============================================================
   TABLEPRESS LUXURY BROWN THEME
============================================================== */
.tablepress {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}

.tablepress thead th,
.tablepress tfoot th {
    background-color: #e9e5db !important;
    /* Luxury beige */
    color: #3E2C23 !important;
    /* Dark brown text */
    border-bottom: 2px solid #d5cebf !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    text-transform: uppercase;
    font-size: 16px !important;
    padding: 15px 20px !important;
    text-align: left !important;
}

.tablepress tbody td {
    padding: 15px 20px !important;
    color: #444 !important;
    font-size: 15px !important;
    border-bottom: 1px solid #e9e5db !important;
    vertical-align: middle !important;
}

.tablepress .odd td {
    background-color: #ffffff !important;
}

.tablepress .even td {
    background-color: #faf8f5 !important;
}

.tablepress tbody tr:hover td {
    background-color: #f2efe9 !important;
    /* Gentle hover effect */
    color: #3E2C23 !important;
}


/* ==============================================================
   MOBILE STORE BANNER + HEADER OVERLAY
   — Banner below header, blends into hero on mobile only
============================================================== */

/* Hidden by default (desktop) */
.mobile-store-banner {
    display: none;
}

@media (max-width: 768px) {

    /* ── Mobile Header: translucent overlay on banner image ── */

    .mobile-header-navigation.has-branding,
    #mobile-header {
        position: relative;
        z-index: 100;
        background: linear-gradient(
            to bottom,
            rgba(30, 20, 15, 0.60) 0%,
            rgba(30, 20, 15, 0.25) 70%,
            rgba(30, 20, 15, 0) 100%
        ) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    /* Logo container — remove GP size limits */
    .mobile-header-navigation .site-logo,
    .mobile-header-navigation .navigation-branding,
    #mobile-header .site-logo,
    #mobile-header .navigation-branding {
        max-width: none !important;
        overflow: visible !important;
    }

    .mobile-header-navigation .site-logo a,
    .mobile-header-navigation .navigation-branding a,
    #mobile-header .site-logo a,
    #mobile-header .navigation-branding a {
        display: flex !important;
        align-items: center !important;
    }

    /* Logo image — force large visible size + brighten for dark background */
    .mobile-header-navigation .site-logo img,
    .mobile-header-navigation .custom-logo,
    .mobile-header-navigation .navigation-branding img,
    #mobile-header .site-logo img,
    #mobile-header .navigation-branding img,
    #mobile-header img {
        height: 55px !important;
        min-height: 55px !important;
        width: auto !important;
        min-width: 40px !important;
        max-height: none !important;
        max-width: none !important;
        display: block !important;
        filter: brightness(2.5) drop-shadow(0 1px 4px rgba(0,0,0,0.5)) !important;
    }

    /* Menu toggle — remove brown background, clean white icon */
    .mobile-header-navigation .menu-toggle,
    #mobile-header .menu-toggle,
    button.menu-toggle[aria-controls],
    .has-branding .menu-toggle {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        color: #fff !important;
        box-shadow: none !important;
        padding: 10px !important;
    }

    .mobile-header-navigation .menu-toggle svg,
    .mobile-header-navigation .menu-toggle .gp-icon,
    .mobile-header-navigation .menu-toggle svg path,
    #mobile-header .menu-toggle svg,
    #mobile-header .menu-toggle .gp-icon,
    #mobile-header .menu-toggle svg path,
    button.menu-toggle svg,
    button.menu-toggle .gp-icon {
        color: #fff !important;
        fill: #fff !important;
    }

    /* ── Store Banner — overlaps into hero with negative margin-bottom ── */
    .mobile-store-banner {
        display: block;
        position: relative;
        width: 100%;
        /* No overflow:hidden — let the fade gradient extend below the image edge */
        /* Tuck under header */
        margin-top: -60px;
        /* Overlap into hero padding */
        margin-bottom: -101px;
        z-index: 2;
        background-color: #f5efe6;
    }

    .mobile-store-banner img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: center 30%;
    }

    /* Gradient fade at bottom — extends 3px below image to cover any sub-pixel seam */
    .mobile-store-banner__fade {
        position: absolute;
        bottom: -3px;
        left: 0;
        right: 0;
        height: calc(65% + 3px);
        background: linear-gradient(
            to bottom,
            rgba(245, 239, 230, 0) 0%,
            rgba(245, 239, 230, 0.20) 30%,
            rgba(245, 239, 230, 0.55) 55%,
            rgba(245, 239, 230, 0.85) 75%,
            rgba(245, 239, 230, 1) 100%
        );
        pointer-events: none;
    }

    /* ── Hide the wave shape divider on mobile ── */
    .gb-container-8c5e20df .gb-shapes {
        display: none !important;
    }

    /* ── Remove the horizontal line/seam between banner and hero ── */
    .mobile-store-banner,
    #page,
    .site-content,
    .inside-page-hero,
    .gb-container-8c5e20df,
    .gb-container-8c5e20df > .gb-inside-container {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
}

/* ==============================================================
   FLOATING CONTACT BUTTON (ALL-IN-ONE)
============================================================== */
.mdl-floating-contact {
    position: fixed;
    bottom: 90px; /* Adjust to stay above 'Go to Top' button if any */
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container for the hidden items */
.mdl-fc-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* When active, show the items */
.mdl-floating-contact.is-active .mdl-fc-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Individual icons */
.mdl-fc-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.mdl-fc-item:hover,
.mdl-fc-item:focus {
    transform: scale(1.1);
    color: #fff;
}

/* Icon specific colors */
.mdl-fc-phone {
    background-color: #25d366; /* Phone/WhatsApp Green */
}

.mdl-fc-tiktok {
    background-color: #000000;
    /* Neon glow effect for TikTok */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3), -2px -2px 0 #00f2fe, 2px 2px 0 #fe0979;
}

.mdl-fc-tiktok svg {
    width: 22px;
    height: 22px;
}

.mdl-fc-instagram {
    background: #f09433; 
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}

/* The Main Toggle Button */
.mdl-fc-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3E2C23; /* Luxury Brown Theme Color */
    border: 2px solid #fff; /* White border for contrast */
    color: #fff;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3); /* White glow */
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Pulsating effect for main button */
.mdl-fc-toggle::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8); /* White pulse */
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.mdl-fc-toggle .close-icon {
    display: none;
    font-size: 26px;
}

.mdl-fc-toggle .cycle-icon {
    position: absolute;
    opacity: 0;
    transform: translateX(25px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mdl-fc-toggle .cycle-icon.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.mdl-fc-toggle .cycle-icon.is-exiting {
    opacity: 0;
    transform: translateX(-25px) scale(0.8);
}

/* Swap icons when active */
.mdl-floating-contact.is-active .mdl-fc-toggle .main-icon {
    display: none;
}
.mdl-floating-contact.is-active .mdl-fc-toggle .close-icon {
    display: block;
}
.mdl-floating-contact.is-active .mdl-fc-toggle {
    background-color: #cc2323; /* Red to close */
    box-shadow: 0 4px 15px rgba(204, 35, 35, 0.4);
}
.mdl-floating-contact.is-active .mdl-fc-toggle::before {
    display: none; /* Stop pulsing when open */
}

/* Mobile specific tweaks */
@media (max-width: 768px) {
    .mdl-floating-contact {
        bottom: 70px;
        right: 15px;
    }
    .mdl-fc-toggle {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    .mdl-fc-item {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}
