/* Main Styles for JoaniePOS Landing Page */

:root {
    --primary-color: #8B0000; /* Dark Red */
    --secondary-color: #000080; /* Navy Blue */
    --accent-color: #FFD700; /* Gold */
    --purple-color: #6f42c1; /* Purple */
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 0.5rem;
}

.hero-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

.hero-section .btn-primary:hover {
    background-color: #e6c100;
    border-color: #e6c100;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Pricing Section */
.pricing-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.pricing-card .card-header {
    border-bottom: none;
}

.pricing-card h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    padding: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
}

.btn-subscribe {
    transition: all 0.3s;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

/* Contact Section */
.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Modal Styles */
.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(120deg, var(--primary-color), #6a0000) !important;
}

.payment-details {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-xl {
    max-width: 90%;
}

@media (min-width: 992px) {
    .modal-xl {
        max-width: 1000px;
    }
}

/* Payment Method Styling */
.payment-card {
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.payment-option.border-primary {
    border-width: 2px !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.25) !important;
}

.payment-option.border-primary:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.border-0 {
    border: none !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.form-check-card {
    cursor: pointer;
}

.form-check-card .card {
    transition: all 0.2s ease-in-out;
    border: 2px solid #dee2e6;
}

/* Remove the old form-check-card styles since we're using a different approach */

.payment-card {
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.btn-submit-subscription {
    position: relative;
}

.btn-submit-subscription .spinner-border {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit-subscription .btn-text {
    transition: opacity 0.2s;
}

.btn-submit-subscription.processing .btn-text {
    opacity: 0;
}

.btn-submit-subscription.processing .spinner-border {
    display: inline-block !important;
}

/* Enhanced Form Styles */
.rounded-10 {
    border-radius: 10px !important;
}

.rounded-15 {
    border-radius: 15px !important;
}

.rounded-top-10 {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.rounded-top-15 {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

.rounded-bottom-15 {
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.opacity-75 {
    opacity: 0.75;
}

.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #8b0000;
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.25);
}

.border-start {
    border-left: 4px solid !important;
}

/* Animation for form elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section .btn {
        margin: 0.5rem;
        width: 80%;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .modal-xl {
        max-width: 95%;
    }
    
    .payment-card {
        margin-bottom: 1rem;
    }
    
    .modal-footer .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .pricing-card h1 {
        font-size: 2rem;
    }
}