/* IT NetWorld Solutions - Main Stylesheet */

/* CSS Variables (Design System) */
:root {
    /* Colors */
    --background: hsl(240, 100%, 99%);
    --foreground: hsl(210, 24%, 16%);
    --card: hsl(250, 50%, 98%);
    --card-foreground: hsl(210, 24%, 16%);
    --primary: hsl(214, 84%, 56%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(214, 84%, 66%);
    --primary-dark: hsl(214, 84%, 46%);
    --secondary: hsl(280, 100%, 70%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(260, 40%, 95%);
    --muted-foreground: hsl(215, 16%, 47%);
    --accent: hsl(45, 100%, 60%);
    --accent-foreground: hsl(0, 0%, 100%);
    --tertiary: hsl(340, 82%, 52%);
    --tertiary-foreground: hsl(0, 0%, 100%);
    --success: hsl(142, 76%, 36%);
    --success-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(260, 40%, 90%);
    --input: hsl(260, 40%, 95%);
    --ring: hsl(214, 84%, 56%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(214, 84%, 56%), hsl(280, 100%, 70%));
    --gradient-hero: linear-gradient(135deg, hsl(214, 84%, 56%) 0%, hsl(45, 100%, 60%) 50%, hsl(340, 82%, 52%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(240, 100%, 99%) 0%, hsl(280, 100%, 96%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(250, 50%, 98%) 0%, hsl(45, 100%, 96%) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 6px -1px hsla(214, 84%, 56%, 0.1), 0 2px 4px -1px hsla(214, 84%, 56%, 0.06);
    --shadow-card: 0 10px 15px -3px hsla(214, 84%, 56%, 0.1), 0 4px 6px -2px hsla(214, 84%, 56%, 0.05);
    --shadow-premium: 0 20px 25px -5px hsla(214, 84%, 56%, 0.1), 0 10px 10px -5px hsla(214, 84%, 56%, 0.04);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

.text-muted {
    color: var(--muted-foreground);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

.bg-gradient-card {
    background: var(--gradient-card);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--input);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(214, 84%, 56%, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Cards */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.card-gradient {
    background: var(--gradient-card);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    position: relative;
    overflow: hidden;
}

.section-bg-gradient {
    background: var(--gradient-subtle);
}

/* Hero Section */
.hero-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

/* Decorative Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    background: hsla(214, 84%, 56%, 0.1);
}

.floating-element:nth-child(2) {
    bottom: 8rem;
    right: 4rem;
    width: 8rem;
    height: 8rem;
    background: hsla(214, 84%, 56%, 0.05);
    animation-delay: -1s;
}

.floating-element:nth-child(3) {
    top: 50%;
    left: 1.5rem;
    width: 4rem;
    height: 4rem;
    background: hsla(214, 84%, 56%, 0.1);
    animation-delay: 1s;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-card:hover h3 {
    color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
}

.testimonial-author {
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-company {
    color: var(--primary);
    font-size: 0.875rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: hsla(214, 84%, 56%, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-info a:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsla(260, 40%, 90%, 0.2);
    color: var(--muted);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-xl {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }
.py-20 { padding: 5rem 0; }
.px-4 { padding: 0 1rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin: 0 auto; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-card { box-shadow: var(--shadow-card); }
.space-y-6 > * + * { margin-top: 1.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.min-w-48 { min-width: 12rem; }
.min-w-64 { min-width: 16rem; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }