/* SmartClick - Custom CSS Styles */

:root {
    --primary-color: #3273dc;
    --primary-dark: #2366d1;
    --success-color: #48c78e;
    --warning-color: #ffe08a;
    --danger-color: #f14668;
    --dark-color: #363636;
    --light-color: #f5f5f5;
    --white-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

/* Debug styles to ensure visibility */
.product-card {
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    margin-bottom: 20px !important;
}

/* Custom Bulma Overrides */
.button.is-primary {
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
}

.button.is-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.title {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.subtitle {
    font-weight: 400;
    opacity: 0.8;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--white-color);
    box-shadow: var(--shadow-light);
}

.navbar-item {
    font-weight: 500;
    transition: var(--transition);
}

.navbar-item:hover {
    color: var(--primary-color) !important;
}

.navbar-dropdown {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="25" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="25" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    max-width: 100%;
    height: auto;
}

.scroll-indicator {
    text-align: center;
    padding-bottom: 2rem;
}

.scroll-down {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Product Cards */
.product-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white-color);
    position: relative;
}

.hr-icon {
    background: var(--gradient-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bookings-icon {
    background: var(--gradient-secondary);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Fallback for icon wrappers */
.product-card .icon-wrapper {
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
    margin-bottom: 1.5rem;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure product cards are visible */
#products .column {
    margin-bottom: 2rem;
}

#products .product-card {
    border: 2px solid #e9ecef;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#products .product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-card .icon-wrapper {
    background: var(--light-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.feature-card .title {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white-color);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.is-featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-description {
    opacity: 0.7;
    font-size: 0.95rem;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.plan-features i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item .icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.contact-form {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
    padding: 3rem 0 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white-color);
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-divider {
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .product-card,
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.is-featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-card,
    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Custom Utilities */
.has-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.is-rounded-large {
    border-radius: 16px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure product cards are always visible initially */
#products .product-card {
    opacity: 1 !important;
    transform: none !important;
}

/* Loading Animations */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.button:focus,
.input:focus,
.textarea:focus,
.select select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-foot,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .product-card,
    .feature-card,
    .pricing-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}