/* Default Color Theme for Hostable */

/* Font display optimization for performance */
@font-face {
  font-family: 'Font Awesome 7 Pro';
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 7 Brands';
  font-display: swap;
}

:root {
    /* New Color Palette - Navy, Red, Blue Scheme */
    --ps-navy-900: #000D25;
    --ps-navy-800: #1A2338;
    --ps-navy-700: #1e293b;
    --ps-red-600: #D71F38;
    --ps-red-700: #D82A42;
    --ps-blue-600: #0263E0;
    --ps-blue-700: #1d4ed8;
    
    --ps-purple-800: #6b21a8;
    --ps-accent-pink: #ec4899;
    --ps-accent-red: #D71F38;
    --ps-accent-red-hover: #D82A42;
    --ps-accent-blue: #0263E0;
    --ps-accent-blue-hover: #1d4ed8;
    
    /* Gradients - Navy with Red accents */
    --ps-gradient-primary: linear-gradient(135deg, #000D25 0%, #1A2338 50%, #1e293b 100%);
    --ps-gradient-secondary: linear-gradient(135deg, #1A2338 0%, #1e293b 100%);
    --ps-gradient-accent: linear-gradient(135deg, #D71F38 0%, #D82A42 100%);
    --ps-gradient-hero: linear-gradient(135deg, #000D25 0%, #1A2338 30%, #1e293b 70%, #D71F38 100%);
    
    /* Text Colors */
    --ps-text-light: #f8fafc;
    --ps-text-gray: #64748b;
    --ps-text-dark: #0F172A;
    
    /* Background Colors */
    --ps-bg-dark: #0F172A;
    --ps-bg-medium: #10192C;
    --ps-bg-light: #f8fafc;
    
    /* Border Radius */
    --ps-radius-lg: 1rem;
    --ps-radius-xl: 1.5rem;
    --ps-radius-2xl: 2rem;
    --ps-radius-3xl: 3rem;
}

/* Responsive Navigation System */
.desktop-nav {
    display: flex;
}

.desktop-cta {
    display: flex;
}

.mobile-menu-btn {
    display: none;
}

/* Mobile Responsive Rules */
@media (max-width: 1023px) {
    .nav-ps {
        position: relative;
        z-index: 50;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .desktop-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
}

/* Desktop Responsive Rules */
@media (min-width: 1024px) {
    .desktop-nav {
        display: flex !important;
    }
    
    .desktop-cta {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Mobile menu positioning */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

/* Custom Tailwind-style utility classes */
.bg-ps-gradient-primary {
    background: var(--ps-gradient-primary);
}

.bg-ps-gradient-secondary {
    background: var(--ps-gradient-secondary);
}

.bg-ps-gradient-accent {
    background: var(--ps-gradient-accent);
}

.bg-ps-gradient-hero {
    background: var(--ps-gradient-hero);
}

.bg-ps-navy-900 {
    background-color: var(--ps-navy-900);
}

.bg-ps-navy-800 {
    background-color: var(--ps-navy-800);
}

.bg-ps-purple-800 {
    background-color: var(--ps-purple-800);
}

.text-ps-purple-900 {
    color: var(--ps-navy-900);
}

.text-ps-text-gray {
    color: var(--ps-text-gray);
}

.text-ps-light {
    color: var(--ps-text-light);
}

.text-ps-accent {
    color: var(--ps-accent-pink);
}

.border-ps-accent {
    border-color: var(--ps-accent-pink);
}

.rounded-ps-lg {
    border-radius: var(--ps-radius-lg);
}

.rounded-ps-xl {
    border-radius: var(--ps-radius-xl);
}

.rounded-ps-2xl {
    border-radius: var(--ps-radius-2xl);
}

.rounded-ps-3xl {
    border-radius: var(--ps-radius-3xl);
}

/* Button Styles - Blue Primary */
.btn-ps-primary {
    background: linear-gradient(135deg, #0263e0, #3B82F6);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(2, 99, 224, 0.25);
}

.btn-ps-primary:hover {
    background: linear-gradient(135deg, #0250C8, #2563EB);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(2, 99, 224, 0.35);
}

.btn-ps-secondary {
    background: transparent;
    color: var(--ps-text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ps-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Card Styles */
.card-ps {
    background: white;
    border-radius: var(--ps-radius-2xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-ps:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.card-ps-dark {
    background: var(--ps-purple-800);
    color: var(--ps-text-light);
    border-radius: var(--ps-radius-2xl);
    box-shadow: 0 20px 50px rgba(30, 27, 75, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-ps-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(30, 27, 75, 0.4);
}

/* Hero Section */
.hero-ps {
    background: var(--ps-gradient-hero);
    color: var(--ps-text-light);
    position: relative;
    overflow: hidden;
}

.hero-ps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Navigation */
.nav-ps {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 27, 75, 0.1);
}

.nav-ps-link {
    color: #1A2338;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-ps-link:hover {
    color: #D71F38;
}

/* Shopping cart icon hover effect */
.nav-ps a[href*="cart.php"]:hover i {
    color: #D71F38 !important;
    transition: color 0.3s ease;
}

/* Logo optimization for crisp rendering */
.logo-crisp {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* Dropdown Styles */
.dropdown-ps {
    background: white;
    border-radius: var(--ps-radius-2xl);
}

/* Page Header Styles */
.page-header-ps {
    background: var(--ps-gradient-hero);
    color: var(--ps-text-light);
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.page-header-ps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header-ps > * {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 2rem;
    padding: 36px 13px 29px;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.12);
}

/* Admin Card Styling - Reusable class for all admin containers */
.admin-card {
    background: white;
    border-radius: 1rem; /* rounded-2xl */
    padding: 1.5rem; /* p-6 */
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.12);
}

/* Icon Gradients */
.icon-gradient-blue {
    background: linear-gradient(135deg, #0263e0, #3B82F6);
}

.icon-gradient-red {
    background: linear-gradient(135deg, #D71F38, #D82A42);
}

/* Content Section */
.content-section-ps {
    padding: 5rem 0;
    background-color: #F4F7FA;
}

.content-section-ps-alt {
    padding: 5rem 0;
    background-color: white;
}

/* Admin Panel Styles */
.admin-card-ps {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.admin-card-ps:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-ps input,
.form-ps textarea,
.form-ps select {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-ps input:focus,
.form-ps textarea:focus,
.form-ps select:focus {
    outline: none;
    border-color: #0263e0;
    box-shadow: 0 0 0 3px rgba(2, 99, 224, 0.1);
}

.form-ps label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Table Styles */
.table-ps {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table-ps th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table-ps td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.table-ps tr:hover {
    background: #f8fafc;
}

/* Pricing Card */
.pricing-card-ps {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card-ps:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 60px 0px rgba(0, 0, 0, 0.15);
}

.pricing-card-ps.featured {
    border: 2px solid #0263e0;
    transform: scale(1.05);
}

.pricing-card-ps.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0263e0, #3B82F6);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Badge Styles */
.badge-ps-blue {
    background: linear-gradient(135deg, #0263e0, #3B82F6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-ps-red {
    background: linear-gradient(135deg, #D71F38, #D82A42);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Feature List */
.feature-list-ps li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.feature-list-ps li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1em;
}

/* CTA Link */
.cta-link-ps {
    display: inline-flex;
    align-items: center;
    color: #D71F38;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link-ps:hover {
    color: #D82A42;
}

.cta-link-ps i {
    margin-left: 0.25rem;
    font-size: 1rem;
}
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(30, 27, 75, 0.1);
}

.dropdown-ps a {
    color: var(--ps-purple-700);
    transition: all 0.2s ease;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ps-radius-lg);
    margin: 0.25rem;
    display: block;
}

.dropdown-ps a:hover {
    background: var(--ps-accent-pink);
    color: white;
    transform: translateX(5px);
}

/* Footer */
.footer-ps {
    background: var(--ps-purple-900);
    color: var(--ps-text-light);
}

.footer-ps a {
    color: var(--ps-text-gray);
    transition: color 0.3s ease;
}

.footer-ps a:hover {
    color: var(--ps-accent-light);
}

/* Form Styles */
.form-ps {
    background: white;
    border-radius: var(--ps-radius-2xl);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.input-ps {
    border: 2px solid #e2e8f0;
    border-radius: var(--ps-radius-lg);
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-ps:focus {
    border-color: var(--ps-accent-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

/* Section Styling */
.section-ps-dark {
    background: var(--ps-navy-900);
    color: var(--ps-text-light);
}

.section-ps-gradient {
    background: var(--ps-gradient-primary);
    color: var(--ps-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn-ps-primary,
    .btn-ps-secondary {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .card-ps,
    .card-ps-dark {
        border-radius: var(--ps-radius-xl);
    }
    
    .hero-ps {
        text-align: center;
    }
}

/* Animation Classes */
.animate-ps-fade-in {
    animation: psFadeIn 0.6s ease-out;
}

.animate-ps-slide-up {
    animation: psSlideUp 0.8s ease-out;
}

@keyframes psFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes psSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override default colors for existing elements */
.bg-primary-600 {
    background: var(--ps-accent-pink) !important;
}

.text-primary-600 {
    color: var(--ps-accent-pink) !important;
}

.text-primary-800 {
    color: var(--ps-purple-800) !important;
}

.from-primary-600 {
    --tw-gradient-from: var(--ps-purple-600) !important;
}

.to-accent-500 {
    --tw-gradient-to: var(--ps-accent-pink) !important;
}

.border-primary-500 {
    border-color: var(--ps-accent-pink) !important;
}

.bg-primary-500 {
    background-color: var(--ps-accent-pink) !important;
}

.hover\:bg-primary-600:hover {
    background-color: var(--ps-accent-subtle) !important;
}

/* Clean gradient icon design with red900 to red700 */
.icon-gradient {
    background: linear-gradient(135deg, #7f1d1d 0%, #7f1d1d 30%, #B91C1C 70%, #B91C1C 100%);
    border: none;
}

.icon-gradient i {
    color: #fefefe; /* Almost white for great contrast */
}

.icon-gradient-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e3a8a 30%, #1e40af 70%, #1e40af 100%);
    border: none;
}

.icon-gradient-blue i {
    color: #fefefe; /* Almost white for great contrast */
}

/* Service Card Hover Animation Fix */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 12px 30px 0px rgba(2, 99, 224, 0.15) !important;
}

/* Prevent text jumping during hover */
.service-card * {
    transform: translate3d(0, 0, 0);
}

.service-card h3,
.service-card p,
.service-card a {
    transition: none;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}