/* Custom CSS for Oxford Ecommerce Bootstrap Site */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary-color: #f1f5f9;
    --accent-color: #f97316;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --background-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 50%, var(--white) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.badge-custom {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    display: block;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-pricing {
    text-align: center;
    margin: 1.5rem 0;
}

.pricing-text {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(191, 215, 58, 0.2), rgba(191, 215, 58, 0.1));
    border: 2px solid #BFD73A;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(191, 215, 58, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.pricing-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 215, 58, 0.4);
    border-color: #BFD73A;
    background: linear-gradient(135deg, rgba(191, 215, 58, 0.3), rgba(191, 215, 58, 0.2));
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Services Section */
.services-section {
    background: rgba(241, 245, 249, 0.3);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.5);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(14, 165, 233, 0.2);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.process-section {
    background: var(--white);
}

.process-steps {
    max-width: 50rem;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(0.5rem);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.step-content {
    flex: 1;
    padding-bottom: 3rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.process-step:hover .step-title {
    color: var(--primary-color);
}

.step-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.step-icon {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover .step-icon {
    opacity: 1;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Process step connector line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.5), transparent);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color), var(--accent-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 4rem 4rem;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 10;
}

.cta-buttons {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.cta-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
    color: var(--white);
}

/* Footer Section */
.footer-section {
    background: rgba(241, 245, 249, 0.3);
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    margin-bottom: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .step-icon {
        display: flex;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}

/* Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-light {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}
