/*
 * IBD Custom Styles - Navigation & Homepage
 */

/* =========================================
   TOP NAVIGATION BAR
   ========================================= */
.dt__navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.dt__navbar.is--sticky {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.dt__navbar.is--sticky .site--logo img {
    max-height: 45px !important;
    transition: all 0.3s ease;
}

.dt__navbar-nav > li > a {
    font-weight: 500;
    color: #334155 !important;
    padding: 20px 16px !important;
    transition: color 0.3s ease;
}

.dt__navbar-nav > li > a:hover,
.dt__navbar-nav > li.current-menu-item > a {
    color: #22c55e !important;
}

/* Dropdown Menu */
.dt__navbar-nav .sub-menu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid #f1f5f9;
    padding: 12px 0;
    min-width: 220px;
}

.dt__navbar-nav .sub-menu li a {
    padding: 10px 20px !important;
    color: #475569 !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dt__navbar-nav .sub-menu li a:hover {
    background: #f8fafc;
    color: #22c55e !important;
}

/* POS Highlight in Menu */
.dt__navbar-nav .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 6px;
    font-size: 12px;
}

/* Header CTA Button - Styled */
.dt__navbar-button-item .dt-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
}

.dt__navbar-button-item .dt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4) !important;
}

/* =========================================
   MOBILE NAVIGATION
   ========================================= */
.dt__mobilenav {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.dt__mobilenav.is--sticky {
    padding: 10px 0;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Panel */
.dt__mobilenav-mainmenu-inner {
    background: #fff;
    padding: 30px 20px;
    height: 100%;
    overflow-y: auto;
}

.dt__mobilenav-mainmenu-inner .main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dt__mobilenav-mainmenu-inner .main-navigation ul li {
    border-bottom: 1px solid #f1f5f9;
}

.dt__mobilenav-mainmenu-inner .main-navigation ul li a {
    display: block;
    padding: 16px 0;
    color: #0f172a;
    font-weight: 500;
    font-size: 1.1rem;
}

.dt__mobilenav-mainmenu-inner .sub-menu {
    padding-left: 20px;
    display: none;
}

.dt__mobilenav-mainmenu-inner .menu-item-has-children > a::after {
    content: '+';
    float: right;
    font-size: 1.3rem;
    color: #64748b;
}

.dt__mobilenav-mainmenu-inner .menu-item-has-children.active > a::after {
    content: '-';
}

/* Mobile CTA Button */
.mobile-cta-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}

/* =========================================
   HERO NAVIGATION CARDS
   ========================================= */
.hero-cards-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-cards-section .dt-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #22c55e;
}

.hero-card:hover::before {
    transform: scaleX(1);
}

.hero-card.pos-card {
    background: linear-gradient(135deg, #166534 0%, #0f172a 100%);
    border-color: transparent;
}

.hero-card.pos-card::before {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.hero-card.pos-card h3,
.hero-card.pos-card p {
    color: #fff;
}

.hero-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.hero-card p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-card .card-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-card:not(.pos-card) .card-btn {
    background: #f1f5f9;
    color: #0f172a;
}

.hero-card:not(.pos-card) .card-btn:hover {
    background: #22c55e;
    color: #fff;
}

.hero-card.pos-card .card-btn {
    background: #22c55e;
    color: #fff;
}

.hero-card.pos-card .card-btn:hover {
    background: #4ade80;
    color: #0f172a;
}

/* =========================================
   POS HIGHLIGHT STRIP
   ========================================= */
.pos-highlight-strip {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    padding: 30px 20px;
    text-align: center;
}

.pos-highlight-strip .dt-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pos-highlight-strip p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.pos-highlight-strip .strip-btn {
    background: #fff;
    color: #16a34a;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pos-highlight-strip .strip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Sticky Header Scrolled State */
.dt__navbar.scrolled,
.dt__mobilenav.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cards-section {
        padding: 60px 20px;
    }
    
    .hero-card {
        padding: 30px 24px;
    }
    
    .pos-highlight-strip .dt-container {
        flex-direction: column;
        text-align: center;
    }
}
