/* Cairntor ERP Custom Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Pricing Section */
.pricing {
    margin: 1rem 0;
}

.pricing .display-4 {
    color: #667eea;
}

.card.border-primary {
    border-width: 3px !important;
}

/* Trust Indicators */
.trust-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-item i {
    color: #667eea;
}

/* Navigation */
#menu {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

#menu .navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: white !important;
}

#menu .navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
    opacity: 0.8;
}

#menu .dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
}

#menu .dropdown-item {
    color: #333;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

#menu .dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

/* Menu text visibility */
#menu .navbar-toggler {
    border-color: white;
}

#menu .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

#menu .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#menu #category {
    color: white;
    font-weight: 600;
}

.navbar-nav .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Header navigation styling */
header .navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

header .navbar-nav .nav-link:hover {
    color: #667eea !important;
}

/* Ensure proper contrast for all text elements */
.text-dark {
    color: #333 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Logo */
#logo h1 a {
    color: #667eea;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .btn {
        margin: 0.5rem 0;
        display: inline-block;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Card Enhancements */
.card-body {
    padding: 2rem;
}

/* Badge Styling */
.badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Footer Enhancement */
footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

footer, footer * {
    color: #333 !important;
}

footer a {
    color: #667eea !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2 !important;
    text-decoration: underline;
}

footer .text-muted {
    color: #6c757d !important;
}

footer h5, footer h6 {
    color: #333 !important;
    font-weight: 600;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* About Us Page Styles */
.stat-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.feature-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item i {
    color: #667eea;
}

/* Breadcrumb Enhancement */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Section Enhancements */
section {
    margin-bottom: 2rem;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Card Enhancements for About Page */
.card {
    border-radius: 15px;
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

/* Team Member Cards */
.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}
