/* Custom Styles for Privyer Theme */

/* Navigation Menus */
.primary-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin: 0;
}

.primary-menu a {
    color: hsl(var(--foreground));
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.primary-menu a:hover {
    color: hsl(var(--primary));
}

.mobile-primary-menu {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.mobile-primary-menu li {
    margin-bottom: 1rem;
}

.mobile-primary-menu a {
    color: hsl(var(--foreground));
    font-size: 1.125rem;
    display: block;
    padding: 0.5rem 0;
}

/* Logo */
.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Card Hover Effects */
.glass-effect:hover,
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hover-lift {
    transition: all 0.3s ease;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Pulse animation for brand badge */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .main-navigation {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-menu.active {
        display: block !important;
        right: 0 !important;
    }
    
    #mobile-overlay.active {
        display: block !important;
    }
}

/* Form Styling */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

input::placeholder,
textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

/* Button Animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Gradient Animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
