/* Refined Style for Baynaam Portfolio - Matching Reference Image */

:root {
    --background: hsl(220 20% 2%);
    --foreground: hsl(0 0% 98%);
    --card: hsl(220 18% 6%);
    --card-foreground: hsl(0 0% 98%);
    --primary: hsl(174 100% 41%); /* Vibrantly Teal/Cyan */
    --primary-foreground: hsl(220 20% 2%);
    --secondary: hsl(220 16% 10%);
    --secondary-foreground: hsl(0 0% 92%);
    --muted: hsl(220 14% 10%);
    --muted-foreground: hsl(220 10% 60%);
    --accent: hsl(174 100% 41%);
    --border: hsl(220 14% 12%);
    --input: hsl(220 16% 8%);
    --ring: hsl(174 100% 41%);
    --radius: 1rem;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --shadow-glow: 0 0 30px -5px hsla(174, 100%, 41%, 0.3);
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Enhancements */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary), #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--foreground);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: hsla(174, 100%, 41%, 0.05);
}

/* Navbar */
.nav-transparent {
    background: transparent;
}
.nav-scrolled {
    background: hsla(220, 20%, 2%, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: hsla(174, 100%, 41%, 0.2);
    box-shadow: var(--shadow-glow);
}

/* Hero Special */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
}

.bg-hero-gradient {
    background: linear-gradient(180deg, transparent 0%, var(--background) 100%);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form Inputs */
input, textarea {
    width: 100%;
    background: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    outline: none;
    transition: all 0.3s ease;
}
input:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(174, 100%, 41%, 0.1);
}

/* Footer Icons */
.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0.75rem;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-3px);
}

/* Scroll Indicators */
.scroll-indicator {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsla(0, 0%, 100%, 0.2);
    border-radius: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}
.scroll-indicator::after {
    content: '';
    width: 0.25rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 1rem;
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@media (max-width: 1024px) {
    .section-padding { padding: 6rem 0; }
    h1 { font-size: 3.5rem !important; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    h1 { font-size: 2.5rem !important; }
}
