/* CSS Variables now in variables.css */
/* Buttons now in buttons-forms.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xxl);
    color: var(--text-dark);
    text-align: center;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-teal {
    color: var(--primary-teal) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.bg-teal {
    background-color: var(--primary-teal) !important;
}
        
        /* Global Mobile Responsive Styles */
        @media (max-width: 1024px) {
            .section-title {
                font-size: 28px;
                margin-bottom: 35px;
            }
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 24px;
                margin-bottom: 30px;
            }

            .container {
                padding-left: 15px;
                padding-right: 15px;
            }

            .row {
                margin-left: -10px;
                margin-right: -10px;
            }

            .row > * {
                padding-left: 10px;
                padding-right: 10px;
            }

            /* Typography */
            h1 { font-size: 28px !important; }
            h2 { font-size: 24px !important; }
            h3 { font-size: 20px !important; }
            h4 { font-size: 18px !important; }
            h5 { font-size: 16px !important; }

            /* Buttons */
            .btn {
                font-size: 14px;
                padding: 10px 20px;
            }

            /* Cards */
            .card, .package-card, .feature-card {
                margin-bottom: 20px;
            }

            /* Spacing */
            section {
                padding: 40px 0 !important;
            }

            .mb-5 {
                margin-bottom: 2rem !important;
            }

            .pb-4, .py-4 {
                padding-bottom: 1.5rem !important;
            }

            .pt-4, .py-4 {
                padding-top: 1.5rem !important;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .container {
                padding-left: 10px;
                padding-right: 10px;
            }

            section {
                padding: 30px 0 !important;
            }

            h1 { font-size: 24px !important; }
            h2 { font-size: 20px !important; }
            h3 { font-size: 18px !important; }
            h4 { font-size: 16px !important; }
            h5 { font-size: 14px !important; }

            .btn {
                font-size: 13px;
                padding: 8px 16px;
                margin-bottom: 10px;
            }
        }
        @media (max-width: 415px) {
             .breadcrumb .breadcrumb-item {
                font-size: 12px;
             }
        }

/* ==========================================
   SCROLL TO TOP BUTTON - Orange Circular Style
   ========================================== */
#bt-scroll-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #febd69;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 189, 105, 0.5);
    font-size: 20px;
}

#bt-scroll-up.scroll-visible {
    display: flex; /* Show when scrolled */
}

#bt-scroll-up:hover {
    background: #e89610;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 150, 16, 0.5);
}

#bt-scroll-up:active {
    transform: translateY(-1px) scale(0.98);
}

#bt-scroll-up i {
    font-size: 22px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    #bt-scroll-up {
        width: 48px;
        height: 48px;
        bottom: 25px;
        right: 25px;
        font-size: 18px;
    }

    #bt-scroll-up i {
        font-size: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    #bt-scroll-up {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    #bt-scroll-up i {
        font-size: 18px;
    }
}

/* Dark Mode Support */
html.dark-mode #bt-scroll-up {
    background: #febd69;
    color: #ffffff;
}

html.dark-mode #bt-scroll-up:hover {
    background: #e89610;
    color: #ffffff;
}

/* Hide Recent Purchase Notification */
.recent-purchase-notification {
    display: none !important;
}

/* ==========================================
   Toast & Cart Notification Styles
   ========================================== */

/* Toast Container */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    animation: slideInRight 0.4s ease;
    pointer-events: auto;
    max-width: 380px;
    min-width: 280px;
}

.toast-notification.success {
    border-left: 4px solid #28a745;
}

.toast-notification.success i {
    color: #28a745;
}

.toast-notification.error {
    border-left: 4px solid #dc3545;
}

.toast-notification.error i {
    color: #dc3545;
}

.toast-notification.warning {
    border-left: 4px solid #ffc107;
}

.toast-notification.warning i {
    color: #ffc107;
}

.toast-notification.info {
    border-left: 4px solid #17a2b8;
}

.toast-notification.info i {
    color: #17a2b8;
}

.toast-notification i {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-notification span {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 0 0 8px;
    line-height: 1;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

/* Cart Notification Container */
#cart-notification-container {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.cart-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #28a745;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    animation: slideDown 0.4s ease;
    pointer-events: auto;
    width: 100%;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cart-notification.error {
    background: #dc3545;
}

.cart-notification i {
    font-size: 16px;
}

.cart-notification-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 0 0 12px;
    line-height: 1;
    opacity: 0.8;
}

.cart-notification-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast-notification {
        max-width: 100%;
        min-width: auto;
        font-size: 13px;
        padding: 10px 14px;
    }

    .cart-notification {
        font-size: 13px;
        padding: 12px 16px;
    }
}
