/* Paw Rescue Life Custom Styles */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --cream-bg: #f8f5f0;
    --warm-brown: #8b4513;
    --soft-beige: #f5f5dc;
    --text-dark: #2c2c2c;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Emphasized CTA Button */
.btn-cta-emphasized {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Senior-friendly button size */
.btn-xl {
    padding: 18px 35px !important;
    font-size: 1.5rem !important;
    min-width: 300px;
}

.btn-cta-emphasized:hover {
    animation: none;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-cta-emphasized:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.btn-cta-emphasized:focus {
    outline: 4px solid rgba(255, 107, 53, 0.3);
    outline-offset: 3px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

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

/* Logo Styles */
.logo {
    width: 2000px;        /* Adjust as needed */
    max-width: 100%;     /* Responsive */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo-small {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--soft-beige) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::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"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="30" cy="30" r="1.5" fill="rgba(247,147,30,0.1)"/><circle cx="70" cy="20" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="90" cy="80" r="1.5" fill="rgba(247,147,30,0.1)"/></svg>') repeat;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-image img {
    max-height: 500px;
    object-fit: cover;
}

/* CTA Button */
.cta-button {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Countdown Timer */
.countdown-section {
    background: white;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.countdown-timer {
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: inline-block;
}

.time-unit {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 80px;
}

.time-unit-small {
    background: white;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 60px;
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.time-unit-small .time-value {
    font-size: 1.5rem;
}

.time-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 5px;
}

.time-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    background: white;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    margin-bottom: 0;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.guarantee-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Testimonials */
.testimonials-section {
    background: var(--soft-beige);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.testimonial-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.testimonial-author {
    color: #666;
    font-style: italic;
    font-weight: 600;
    margin-top: 15px;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--warm-brown), #a0522d);
    color: white;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
}

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

.footer a:hover {
    color: var(--secondary-color);
}

/* Checkout Styles */
.checkout-section {
    background: var(--cream-bg);
}

.countdown-alert {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.order-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.order-item:last-child {
    border-bottom: none;
}

/* Benefits Reminder */
.benefits-reminder {
    background: rgba(255, 107, 53, 0.05);
}

.benefits-reminder i {
    font-size: 1.2rem;
}

.text-purple {
    color: #6f42c1 !important;
}

/* Dashboard Styles */
.navbar-brand img {
    filter: brightness(0) invert(1);
}

.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.table thead {
    background: var(--primary-color);
    color: white;
}

.table-hover tbody tr:hover {
    background: rgba(255, 107, 53, 0.05);
}

.badge {
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 10px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .benefit-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .countdown-timer {
        padding: 15px;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 8px;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
    
    .time-separator {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success States */
.success-message {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Error States */
.error-message {
    background: linear-gradient(135deg, var(--danger-color), #e55353);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Product Showcase Styles */
.product-image-card {
    transition: all 0.3s ease;
    padding: 20px;
}

.product-image-card:hover {
    transform: translateY(-10px);
}

.product-image-card img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-image-card:hover img {
    transform: scale(1.05);
}

/* Logo adjustments */
.logo {
    max-height: 80px;
    width: auto;
}

.logo-small {
    max-height: 50px;
    width: auto;
}
