/* ===========================
   SeniorTech Support - Main CSS
   Remote IT Helpdesk for Seniors
   =========================== */

/* Color Variables */
:root {
    --primary-color: #4e73df;
    --primary-light: #6c91e5;
    --primary-dark: #2e59d9;
    
    --secondary-color: #858796;
    --secondary-light: #9ca3b1;
    --secondary-dark: #6e707e;
    
    --success-color: #1cc88a;
    --success-light: #36d3a2;
    --success-dark: #17a673;
    
    --info-color: #36b9cc;
    --info-light: #4fc7d7;
    --info-dark: #2c9faf;
    
    --warning-color: #f6c23e;
    --warning-light: #f7d060;
    --warning-dark: #dda20a;
    
    --light-color: #f8f9fc;
    --dark-color: #2c3e50;
    
    --text-muted: #5a5c69;
    --border-color: #e3e6f0;
    --shadow-light: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
    overflow-x: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-bottom: 0.5rem;
}

/* Decorative Blobs */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.blob-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
}

.blob-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
}

/* Card Styles */
.card {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2);
}

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

/* Services Section */
#services-section .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-top: 1rem;
}

/* Testimonials */
.stars i {
    color: var(--warning-color);
}

.customer-name {
    color: var(--text-muted);
    font-style: italic;
}

/* Gallery */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* FAQ Section */
#faq-section .card-title {
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* Team Section */
#team-section .card {
    border: none;
    background: var(--light-color);
}

#team-section .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Contact Form */
#contact-form {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-light);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

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

#footer-section h5,
#footer-section h6 {
    color: white;
    margin-bottom: 1rem;
}

#footer-section a {
    transition: color 0.3s ease;
}

#footer-section a:hover {
    color: var(--primary-light);
}

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

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

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

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

/* Additional Page Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
}

/* Hero variations for different pages */
.bg-primary {
    background-color: var(--primary-color);
}

.bg-success {
    background-color: var(--success-color);
}

.bg-info {
    background-color: var(--info-color);
}

/* Article Cards */
.object-cover {
    object-fit: cover;
}

/* Video Cards */
#video-section .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Newsletter Section */
#newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: var(--shadow-light);
}

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

.text-success {
    color: var(--success-color);
}

.text-info {
    color: var(--info-color);
}

.text-warning {
    color: var(--warning-color);
}

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

.border-success {
    border-color: var(--success-color);
}

.border-warning {
    border-color: var(--warning-color);
}

.border-info {
    border-color: var(--info-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus indicators for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border-width: 2px;
    }
} 