/* 
   Prime Tech Computers - Premium Design System 
   Aesthetics: Dark Mode, High Tech, Trusted, Expensive
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
    /* Brand Colors extracted from card concept */
    --primary: #FF6B00;
    /* Vibrant Orange for Call-to-Actions */
    --primary-glow: rgba(255, 107, 0, 0.4);
    --secondary: #00F3FF;
    /* Cyan/Blue for Tech vibes */
    --secondary-glow: rgba(0, 243, 255, 0.4);

    /* Neutral / Dark Theme Colors */
    --bg-dark: #0A0A0C;
    /* Deepest Black/Blue */
    --bg-card: #141419;
    /* Slightly lighter for cards */
    --bg-glass: rgba(20, 20, 25, 0.7);
    /* Glassmorphism */

    --text-white: #FFFFFF;
    --text-gray: #A0A0B0;
    --text-muted: #666677;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
    --gradient-tech: linear-gradient(135deg, #00F3FF 0%, #0066FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0C 0%, #141419 100%);

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --border-radius: 12px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: black;
    box-shadow: 0 0 20px var(--secondary-glow);
}

/* --- Header / Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-white);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

/* Background Animated Grid */
.hero-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(50px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--text-white);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    height: 600px;
}

/* Abstract Laptop/Tech Representation with CSS */
.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.c1 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 243, 255, 0.2);
    animation: spin 20s linear infinite;
}

.c2 {
    width: 550px;
    height: 550px;
    border-color: rgba(255, 107, 0, 0.1);
    animation: spin-rev 30s linear infinite;
}

.c-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    filter: blur(40px);
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-rev {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Placeholder fallback style if image doesn't load immediately */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Badge --- */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
        margin-top: 40px;
    }

    .nav-links {
        display: none;
        /* simple hide for now, will implement mobile menu in js */
    }

    .mobile-toggle {
        display: block;
    }
}

/* --- Global Section Styles --- */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-darker {
    background: #050507;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-gray);
    max-width: 600px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card.highlight {
    background: linear-gradient(145deg, #1a1a20, #0f0f12);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.service-card.highlight:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card.highlight .icon-box {
    color: var(--secondary);
    background: rgba(0, 243, 255, 0.1);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.service-card.highlight:hover .icon-box {
    background: var(--secondary);
    color: black;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.9rem;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- Brands Section --- */
.brands-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--transition);
    /* Make logos white */
    filter: grayscale(100%) brightness(0) invert(1);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info p {
    margin-bottom: 40px;
    color: var(--text-gray);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.icon-box-sm {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.highlight-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem !important;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: var(--text-white);
    transform: translateY(-3px);
}

/* WhatsApp Brand Color */
.social-btn.btn-whatsapp {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.social-btn.btn-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Instagram Brand Gradient */
.social-btn.btn-instagram {
    color: #d6249f;
    border-color: rgba(214, 36, 159, 0.3);
}

.social-btn.btn-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.4);
}

.contact-map-wrapper {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050507;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive Contact --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map-wrapper {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Slideshow --- */
.slideshow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    background: transparent;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}