/* ============================================
   PrintHorizon - Main Stylesheet
   Theme: White, Black, and Red
   Design: Clean, minimal, premium
   ============================================ */

/* ============================================
   CSS VARIABLES & DESIGN SYSTEM
   ============================================ */
:root {
    /* Color Palette - White, Black, and Red */
    --color-bg-primary: #ffffff;        /* White background */
    --color-bg-secondary: #f5f5f5;      /* Light gray background */
    --color-bg-card: #ffffff;          /* White card background */
    --color-bg-alt: #fafafa;           /* Alternate light background */
    
    /* Gradient Accents - Red */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-secondary: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-soft: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(153, 27, 27, 0.1) 100%);
    
    /* Text Colors */
    --color-text-primary: #000000;
    --color-text-secondary: #333333;
    --color-text-muted: #666666;
    
    /* Accent Colors */
    --color-accent-blue: #dc2626;
    --color-accent-purple: #991b1b;
    --color-accent-cyan: #ef4444;
    
    /* Shadows - Red tinted */
    --shadow-sm: 0 2px 8px rgba(220, 38, 38, 0.1);
    --shadow-md: 0 4px 16px rgba(220, 38, 38, 0.15);
    --shadow-lg: 0 8px 32px rgba(220, 38, 38, 0.2);
    --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   RECOMMENDATIONS SECTION
   ============================================ */
/*
 * COLOR VARIATIONS TO TRY:
 * 
 * 1. Warmer Palette:
 *    --color-bg-primary: #1a1625;
 *    --gradient-primary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
 * 
 * 2. Cooler Palette:
 *    --color-bg-primary: #0d1117;
 *    --gradient-primary: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
 * 
 * 3. Earthy Palette:
 *    --color-bg-primary: #1a1a1a;
 *    --gradient-primary: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
 * 
 * LAYOUT ALTERNATES:
 * 
 * 1. Card Grid: Change services-grid to masonry layout
 * 2. Hero: Add parallax scrolling effect
 * 3. Navigation: Try a sidebar navigation on mobile
 * 4. Footer: Add newsletter subscription form
 * 
 * ANIMATION UPGRADES:
 * 
 * 1. Add scroll-triggered animations (AOS library or Intersection Observer)
 * 2. Parallax effects on hero section
 * 3. Stagger animations for service cards
 * 4. Smooth page transitions
 * 5. Micro-interactions on buttons and cards
 * 
 * DARK/LIGHT MODE TOGGLE:
 * 
 * Add a toggle button in navbar and create:
 * [data-theme="light"] {
 *   --color-bg-primary: #f8f9fa;
 *   --color-text-primary: #1a1a1a;
 *   ... (invert colors)
 * }
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition-normal);
}

.nav-brand a:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0.3;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-light);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-accent-blue);
}

.btn-secondary:hover {
    background: var(--color-accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-accent-blue);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: var(--spacing-md);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-us {
    background: var(--color-bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.feature-item p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--color-bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding-top: var(--spacing-sm);
}

.testimonial-author strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-soft);
    padding: var(--spacing-xl) 0;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-section.alt-bg {
    background: var(--color-bg-secondary);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.content-wrapper p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.mvp-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.mvp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
}

.mvp-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.mvp-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.mvp-card p,
.mvp-card ul {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.mvp-card ul {
    list-style: none;
    text-align: left;
    margin-top: var(--spacing-sm);
}

.mvp-card ul li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.mvp-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.contact-form-container,
.contact-info-container {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: var(--shadow-sm);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.info-item p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.map-container {
    margin-top: var(--spacing-xl);
}

.map-container h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--color-text-primary);
}

.map-placeholder {
    background: var(--color-bg-card);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.map-placeholder p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.map-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content {
    padding: var(--spacing-xl) 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: var(--shadow-sm);
}

.legal-wrapper h2 {
    font-size: 1.8rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.legal-wrapper h2:first-child {
    margin-top: 0;
}

.legal-wrapper h3 {
    font-size: 1.3rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.legal-wrapper p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.legal-wrapper ul {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    line-height: 1.8;
}

.legal-wrapper li {
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-alt);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.footer-section p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-accent-blue);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-bg-primary);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}


