/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
    --primary-color: #FDB635;
    --primary-hover: #ffc559;
    --accent-color: #FDB635;
    --bg-dark: #f7f8fc;
    --bg-darker: #eef0f6;
    --bg-light: #ffffff;
    --bg-lighter: #f4f5fa;
    --text-primary: #0f172a;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-light: rgba(15, 23, 42, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 0 40px rgba(254, 178, 15, 0.18);
}

html {
    scroll-behavior: smooth;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    /* Hide scrollbar but keep scrolling */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE (who even uses that) and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.6) 0, transparent 25%),
        radial-gradient(circle at 90% 10%, rgba(240, 143, 179, 0.15) 0, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(15, 98, 254, 0.1) 0, transparent 40%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(244, 245, 250, 0.9));
    z-index: -2;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2240%22 height=%2240%22 viewBox=%220 0 40 40%22%3E%3Cfilter id=%22n%22 x=%220%22 y=%220%22 width=%22100%25%22 height=%22100%25%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%2240%22 height=%2240%22 filter=%22url(%23n)%22 opacity=%220.12%22/%3E%3C/svg%3E');
    opacity: 0.25;
    mix-blend-mode: soft-light;
    z-index: -1;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35)), url('../content/site-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-color);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    display: block;
    margin: 0 auto 1.25rem auto;
    width: fit-content; /* or remove width entirely */
    text-align: center;
}

.hero-title img {
    display: block;
    margin: 0 auto;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
    white-space: nowrap;
    overflow: hidden;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
    animation-fill-mode: both;
}

.hero-player {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.15);
    margin: 0 auto 2rem;
    max-width: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-player::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('../content/site-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    z-index: -1;
    opacity: 0.8;
}

.player-cover {
    height: 120px;
    width: 120px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.player-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    min-width: 0;
}

.track-name {
    color: black !important; 
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.btn-icon.primary {
    background: transparent;
}

.btn-icon.primary i {
    display: block;
    width: 42px;
    height: 42px;
    font-size: 42px;
    line-height: 42px;
    color: #0f172a !important;
    text-align: center;
}

.play-btn {
    background: transparent;
    border: none;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
}

.play-btn i {
    color: #000000 !important;
    display: inline-block;
    font-size: 50px;
    line-height: 1;
    width: 50px;
    height: 50px;
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.play-icon-svg {
    width: 42px;
    height: 42px;
    color: #000000;
    fill: currentColor;
    display: block;
}

.player-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(15, 98, 254, 0.25);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pill.live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-rose);
    box-shadow: 0 0 0 6px rgba(240, 143, 179, 0.25);
}

.track-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.track-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.player-wave {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 4px;
    align-items: end;
    height: 64px;
    margin-bottom: 1rem;
}

.player-wave span {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 98, 254, 0.9), rgba(15, 98, 254, 0.25));
    border-radius: 3px;
    height: calc(20% + (var(--i, 1) * 6%));
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.15);
}

.player-wave span:nth-child(odd) { opacity: 0.85; }
.player-wave span:nth-child(even) { opacity: 0.65; }

.player-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.btn-icon {
    background: rgb(0, 0, 0);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    border: none;
}

.btn-icon.primary {
    background: transparent;
    color: var(--text-primary);
}

.btn-icon.primary i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.btn-icon:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.timecode {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.cta-button {
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 0.5px solid var(--glass-border);
}

.cta-button.secondary:hover {
    background: var(--bg-lighter);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--bg-dark);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.6;
}

/* About Section */
.about {
    background: var(--bg-darker);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.about-text .lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-item {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 0.5px solid var(--glass-border);
    box-shadow:none;
    transition: all 0.2s linear !important;
}

.skill-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-lighter);
}

.skill-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

/* Make featured items feel larger */
.portfolio-item.featured .video-wrapper {
    padding-top: 56.25%; /* keep 16:9 */
}

.portfolio-item.featured .portfolio-info h3 {
    font-size: 1.7rem;
}

.portfolio-item.featured {
    border-radius: 24px;
}

.portfolio-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 0.5px solid var(--glass-border);
    transition: all 0.2s linear !important;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
    background: var(--bg-lighter);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-darker);
    overflow: hidden;
}

.portfolio-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 30px;
    height: 30px;
    color: white;
    margin-left: 5px;
}

.portfolio-info {
    padding: 1.4rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 0.875rem;
    background: var(--accent-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 0.5px solid rgba(0, 122, 255, 0.2);
}

.tape-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.4rem 0.6rem;
    border-bottom: 1px solid var(--border-light);
}

.tape-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-rose), rgba(240, 143, 179, 0.25));
    box-shadow: 0 0 0 6px rgba(240, 143, 179, 0.2);
}

.tape-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tape-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.contact-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0.5px solid var(--glass-border);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--bg-lighter);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    outline: rgba(253, 182, 53, 0);
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 1px solid var(--primary-color);
    border-color: var(--primary-color);
    background: var(--bg-lighter);
    box-shadow: 0 0 0 4px rgba(253, 182, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, sans-serif;
    box-shadow: var(--shadow-md);
}

.submit-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .skills {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text .lead {
        font-size: 1.2rem;
    }
}

