/* PayRing Global Styles */

/* Custom Variables */
:root {
    --primary: #4a6bef;
    --primary-dark: #3a59cb;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Navigation */
.navbar-dark .navbar-brand {
    font-weight: 700;
}

.navbar-dark .nav-link {
    font-weight: 500;
}

.navbar-dark .nav-link.active {
    color: #fff !important;
    border-bottom: 2px solid #fff;
}

/* Hero Section */
.hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto;
}

/* Step Numbers */
.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

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

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.social-icons a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Shop Page */
.product-list-item img {
    object-fit: cover;
    height: 100%;
}

/* Product Detail Page */
.product-image-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.product-image {
    max-height: 100%;
    object-fit: contain;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: var(--primary);
}

.quantity-selector {
    max-width: 150px;
}

/* Order Confirmation */
.confirmation-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .navbar-dark .nav-link.active {
        border-bottom: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}