/* 
   Maria Nazir Portfolio - Main Stylesheet
   Design System: Modern Professionalism
*/

:root {
    /* Brand Colors */
    --color-brand-navy: #0F172A;
    --color-brand-teal: #14B8A6;
    --color-brand-gold: #F59E0B;
    --color-brand-light-gray: #F8FAFC;
    --color-text-dark: #1E293B;
    --color-text-muted: #64748B;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Shadows & Radius */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-brand-navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-brand-navy);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #1E293B;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--color-brand-teal);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #0D9488;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-brand-navy);
    color: var(--color-brand-navy);
}

.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.05);
}

.text-center { text-align: center; }
.text-primary { color: var(--color-brand-navy); }
.text-secondary { color: var(--color-brand-teal); }
.text-muted { color: var(--color-text-muted); }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-brand-navy);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-brand-navy);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--color-white), var(--color-brand-light-gray));
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: rgba(20, 184, 166, 0.1);
    color: #0F766E;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-brand-teal);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: var(--spacing-xxl) 0;
}

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

.service-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-brand-teal);
    transition: width 0.3s ease;
}

.service-card:hover::before {
    width: 100%;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    background-color: #EFF6FF;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-brand-navy);
}

.service-img {
    height: 8rem;
    width: 100%;
    object-fit: contain;
    margin-top: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-img {
    opacity: 1;
}

/* About Section */
.about {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-brand-light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-brand-navy);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: #F1F5F9;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-xxl: 4rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        order: -1;
    }
    
    .floating-card {
        display: none;
    }
}
