/* Packages Page Styles */
:root {
    --primary-color: #198754;
    --secondary-color: #20c997;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header Top - Mobile Slogan Animation */
.header-top {
    position: relative;
    overflow: hidden;
}

.slogan-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slogan-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll-slogans 15s linear infinite;
    gap: 4rem;
    align-items: center;
}

.slogan-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.slogan-item small {
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.package-image:hover .product-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-overlay a {
    z-index: 2;
}

.package-image {
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .package-image img {
    transform: scale(1.1);
}

@keyframes scroll-slogans {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Desktop: Hide mobile slogan scroll */
@media (min-width: 768px) {
    .slogan-scroll-wrapper {
        display: none;
    }
}

/* Mobile: Hide desktop phone number */
@media (max-width: 767.98px) {
    .header-top .col-md-6:first-child {
        display: none;
    }
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Header Buttons - Minimal Style */
.navbar .btn-minimal {
    background: transparent;
    border: none;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.navbar .btn-minimal:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.navbar .btn-minimal i {
    font-size: 1.1rem;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.navbar .dropdown-item {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.navbar .dropdown-item i {
    color: var(--primary-color);
    width: 20px;
}

.navbar .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

.cart-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
}

/* Dropdown Menu Styles */
.products-dropdown {
    min-width: 280px;
    padding: 1rem 0;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    margin-top: 0.5rem;
}

.products-dropdown .dropdown-item {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.products-dropdown .dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 25px;
    transition: transform 0.3s ease;
}

.products-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(32, 201, 151, 0.1));
    color: var(--primary-color);
    padding-left: 2rem;
    transform: translateX(5px);
}

.products-dropdown .dropdown-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.products-dropdown .dropdown-divider {
    margin: 0.8rem 1rem;
    opacity: 0.2;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 5rem 0 3rem;
    margin-bottom: 0;
}

.page-header h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

/* Packages Section */
.packages-section {
    background: #f8f9fa;
    min-height: 60vh;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
}

.search-box input {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-box button {
    border-radius: 0 25px 25px 0;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--light-color);
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.category-list a i {
    margin-right: 0.5rem;
}

.category-list .count {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Price Filter */
.price-filter .price-inputs {
    margin-bottom: 1rem;
}

/* Packages Toolbar */
.products-toolbar {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-top: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Package Card Featured */
.package-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.2);
}

.package-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

/* Footer */
.footer {
    background: #1a1a1a !important;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: #adb5bd;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-payment-icons {
    color: rgba(255, 255, 255, 0.7);
}

.footer-payment-icons i {
    transition: all 0.3s ease;
}

.footer-payment-icons i:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-badges .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Instagram Button */
.instagram-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.instagram-button:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 25px rgba(225, 48, 108, 0.6);
}

/* Alert Notifications */
.alert-error {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-success {
    background-color: #198754 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-info {
    background-color: #0dcaf0 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

/* Pagination Modern */
.pagination-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.page-item-modern {
    margin: 0;
}

.page-link-modern {
    background: white;
    border: 1px solid #e0e0e0;
    color: #495057;
    padding: 0.5rem 0.75rem;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.page-link-modern:hover:not(:disabled):not(.active) {
    background: rgba(25, 135, 84, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
}

.page-link-modern.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.page-link-modern:disabled {
    background: #f8f9fa;
    border-color: #e0e0e0;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-link-modern i {
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .packages-section .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .packages-section .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .instagram-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .instagram-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 20px;
    }
}

