/* 
 * Philips Computer - Main Stylesheet
 * SEO Optimized with Navy Blue Theme
 */

:root {
    /* Navy Blue Color Scheme */
    --primary-navy: #1e3a8a;
    --navy-dark: #1e40af;
    --navy-light: #3b82f6;
    --navy-lighter: #dbeafe;
    
    /* Complementary Colors */
    --accent-gold: #f59e0b;
    --gold-light: #fbbf24;
    --success-green: #10b981;
    --warning-orange: #f97316;
    
    /* Neutral Colors */
    --dark-charcoal: #1f2937;
    --gray-dark: #4b5563;
    --gray-medium: #9ca3af;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Poppins', 'Arial', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--dark-charcoal);
    overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-dark);
}

/* Navigation Styles */
.custom-navbar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.1);
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(30, 58, 138, 0.95);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-lighter) 0%, var(--white) 50%, var(--navy-lighter) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
}

.hero-icon {
    font-size: 20rem;
    color: var(--primary-navy);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.cta-button {
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Trust Indicators */
.trust-indicators {
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

.quick-stats .stat-item {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.quick-stats .stat-item:hover {
    transform: translateY(-5px);
}

/* Product Slider */
.product-slider-section {
    background: var(--white);
    padding: 80px 0;
}

.slider-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1);
    border: 1px solid var(--gray-light);
}

.carousel-item img {
    height: 400px;
    object-fit: contain;
    background: linear-gradient(135deg, var(--navy-lighter) 0%, var(--white) 100%);
    padding: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
    opacity: 0.9;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--navy-dark);
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary-navy);
}

/* Services Section */
.services-section {
    background: var(--gray-light);
    padding: 80px 0;
}

.service-card {
    background: var(--white);
    border: none;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: var(--gray-dark);
}

.service-features li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Business Features */
.business-features {
    padding: 60px 0;
    background: var(--white);
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    padding: 80px 0;
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rating {
    color: var(--gold-light);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-gold);
}

.contact-form {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-light);
}

.form-control {
    border: 1px solid var(--gray-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

/* Footer */
.custom-footer {
    background: var(--dark-charcoal);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-links h5 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    color: var(--primary-navy);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar, .cta-button, .footer {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}