/* Custom styles for the e-commerce platform */

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

/* Hero section enhancements */
.hero.is-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero .title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button enhancements */
.button.is-warning {
    background-color: #ffdd57;
    border-color: #ffdd57;
    color: #363636;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.is-warning:hover {
    background-color: #ffd83d;
    border-color: #ffd83d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Pricing section */
.pricing {
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    margin: 1rem 0;
}

.pricing .is-size-1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form enhancements */
.input.is-large {
    border-radius: 8px;
    border: 2px solid #dbdbdb;
    transition: border-color 0.3s ease;
}

.input.is-large:focus {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

/* Loading spinner */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal enhancements */
.modal-content {
    border-radius: 8px;
    background: white;
    padding: 2rem;
    margin: 2rem;
}

/* Box shadows */
.box {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Testimonial boxes */
.box blockquote {
    font-style: italic;
    border-left: 4px solid #3273dc;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Success indicators */
.fa-check.has-text-success {
    color: #48c774 !important;
}

/* Footer enhancements */
.footer {
    border-top: 1px solid #363636;
}

.footer .title {
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero .title.is-1 {
        font-size: 2.5rem;
    }

    .hero .subtitle.is-3 {
        font-size: 1.5rem;
    }

    .pricing {
        margin: 1rem 0.5rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .button {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .box {
        border: 2px solid #000;
    }

    .button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .box {
        transition: none;
    }

    .loader {
        animation: none;
    }
}

/* Focus indicators for accessibility */
.button:focus,
.input:focus {
    outline: 3px solid #3273dc;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Error states */
.input.is-danger {
    border-color: #ff3860;
}

.help.is-danger {
    color: #ff3860;
}

/* Success states */
.input.is-success {
    border-color: #48c774;
}

.help.is-success {
    color: #48c774;
}

/* Loading states */
.is-loading {
    position: relative;
    pointer-events: none;
}

.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Notification enhancements */
.notification {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Table responsiveness */
.table-container {
    overflow-x: auto;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Typography improvements */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    color: #363636;
    font-weight: 600;
    line-height: 1.3;
}

.content p {
    line-height: 1.6;
}

/* Link styling */
a {
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Card-like styling for sections */
.section-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}