/* ========================================
   SGC TECH AI - Navigation & CTA Standardization
   PROMPT 8 Implementation
   Version: 2025-12-12
   ======================================== */

/* ========== STANDARDIZED NAVIGATION ========== */

/* Enhanced Header - Sticky Positioning */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 240, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 10px 0;
}

/* Enhanced Logo */
.logo a {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo-image {
    height: 38px;
}

.logo-tagline {
    font-size: 10px;
    color: var(--sky-blue, #4fc3f7);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation Menu - Desktop */
@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .nav-menu li {
        position: relative;
    }
    
    .nav-menu li a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        color: var(--deep-navy, #0c1e34);
        font-weight: 600;
        font-size: 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .nav-menu li a:hover {
        background: rgba(0, 255, 240, 0.1);
        color: var(--ocean-blue, #1e3a8a);
    }
    
    .nav-menu li a.active {
        background: rgba(0, 255, 240, 0.15);
        color: var(--ocean-blue, #1e3a8a);
        font-weight: 700;
    }
    
    /* Dropdown Indicator */
    .nav-menu li a.has-dropdown::after {
        content: '\f078'; /* FontAwesome chevron-down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 11px;
        margin-left: 4px;
        transition: transform 0.2s ease;
    }
    
    .nav-menu li:hover a.has-dropdown::after {
        transform: rotate(180deg);
    }
}

/* Navigation Menu - Mobile */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        padding: 100px 28px 32px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        color: var(--deep-navy, #0c1e34);
        font-weight: 600;
        font-size: 16px;
        border-radius: 12px;
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }
    
    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: linear-gradient(135deg, rgba(0, 255, 240, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
        border-color: rgba(0, 255, 240, 0.3);
        transform: translateX(4px);
    }
    
    .nav-menu li a i {
        font-size: 18px;
        width: 24px;
        text-align: center;
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(0, 255, 240, 0.1);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--deep-navy, #0c1e34);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(12, 30, 52, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== STANDARDIZED CTA BUTTONS ========== */

/* Primary CTA - High Conversion Action */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00FFF0 0%, #00FF88 100%);
    color: var(--deep-navy, #0c1e34);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 255, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 255, 240, 0.4), 0 0 32px rgba(0, 255, 240, 0.2);
}

.cta-primary:hover::before {
    opacity: 1;
}

.cta-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 240, 0.3);
}

.cta-primary i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-primary:hover i {
    transform: translateX(4px);
}

/* Secondary CTA - Alternative Action */
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--ocean-blue, #1e3a8a);
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #00FFF0;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #00FFF0 0%, #00FF88 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-secondary:hover {
    color: var(--deep-navy, #0c1e34);
    border-color: #00FF88;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 240, 0.3);
}

.cta-secondary:hover::before {
    width: 100%;
}

.cta-secondary i {
    transition: transform 0.3s ease;
}

.cta-secondary:hover i {
    transform: scale(1.1);
}

/* Text Link CTA - Low Friction Action */
.cta-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--ocean-blue, #1e3a8a);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.cta-text i,
.cta-text .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cta-text:hover {
    color: #00FFF0;
    border-bottom-color: rgba(0, 255, 240, 0.3);
}

.cta-text:hover i,
.cta-text:hover .arrow {
    transform: translateX(6px);
}

/* Navigation CTA - Optimized for Navbar */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00FFF0 0%, #00FF88 100%);
    color: var(--deep-navy, #0c1e34) !important;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 255, 240, 0.3);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 255, 240, 0.4);
    background: linear-gradient(135deg, #00FF88 0%, #00FFF0 100%);
}

@media (max-width: 991px) {
    .btn-nav-cta {
        margin-top: 16px;
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

/* ========== FLOATING CTA ========== */

.floating-cta {
    position: fixed;
    bottom: -100px;
    right: 30px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #00FFF0 0%, #00FF88 100%);
    color: var(--deep-navy, #0c1e34);
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 255, 240, 0.4), 0 0 40px rgba(0, 255, 240, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.floating-cta.visible {
    bottom: 30px;
}

.floating-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 255, 240, 0.5), 0 0 48px rgba(0, 255, 240, 0.3);
}

.floating-cta i {
    font-size: 18px;
    animation: shake 1s infinite;
}

@media (max-width: 768px) {
    .floating-cta {
        right: 20px;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .floating-cta.visible {
        bottom: 20px;
    }
}

/* Hide floating CTA on contact/appointment pages */
body.page-contact .floating-cta,
body.page-appointment .floating-cta {
    display: none;
}

/* Floating CTA Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 255, 240, 0.4), 0 0 40px rgba(0, 255, 240, 0.2);
    }
    50% {
        box-shadow: 0 8px 24px rgba(0, 255, 240, 0.5), 0 0 50px rgba(0, 255, 240, 0.3);
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* ========== MULTI-CHANNEL CONTACT SECTION ========== */

.multi-channel-contact {
    background: linear-gradient(135deg, rgba(12, 30, 52, 0.97) 0%, rgba(30, 58, 138, 0.97) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.multi-channel-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.multi-channel-contact .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-header .highlight-cyan {
    color: #00FFF0;
    text-shadow: 0 0 20px rgba(0, 255, 240, 0.5);
}

.contact-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 240, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 255, 240, 0.2);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card.phone .contact-card-icon {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(30, 58, 138, 0.2) 100%);
    color: #4fc3f7;
}

.contact-card.email .contact-card-icon {
    background: linear-gradient(135deg, rgba(0, 255, 240, 0.2) 0%, rgba(0, 255, 136, 0.2) 100%);
    color: #00FFF0;
}

.contact-card.whatsapp .contact-card-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(0, 255, 136, 0.2) 100%);
    color: #25d366;
}

.contact-card.schedule .contact-card-icon {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    color: #9333ea;
}

.contact-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin: 0;
}

.contact-card .cta-label {
    color: #00FFF0;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-card .cta-label i {
    transition: transform 0.3s ease;
}

.contact-card:hover .cta-label i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .multi-channel-contact {
        padding: 48px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 28px 20px;
    }
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 991px) {
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .cta-primary {
        padding: 16px 32px;
        font-size: 17px;
    }
    
    .cta-secondary {
        padding: 16px 32px;
        font-size: 17px;
    }
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */

/* Focus states for keyboard navigation */
.cta-primary:focus,
.cta-secondary:focus,
.cta-text:focus,
.btn-nav-cta:focus,
.floating-cta:focus {
    outline: 3px solid #00FFF0;
    outline-offset: 3px;
}

.nav-menu li a:focus {
    outline: 2px solid #00FFF0;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-cta {
        animation: none;
    }
}
