/* 
 * YakoobAhmad.com - Modern Landing Page Styles
 * A sleek, tech-focused design for an AI startup founder
 */

/* ===== Base Styles ===== */
:root {
    /* Color Variables */
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --accent-primary: #FF3B30; /* Compeller Red */
    --accent-secondary: #0A84FF; /* Tech Blue */
    --accent-tertiary: #6C63FF; /* Subtle Purple */
    --accent-music: #FF9500; /* Music Orange */
    --card-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(18, 18, 18, 0.8);
    --timeline-color: var(--accent-primary);
    
    /* Spacing Variables */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Font Variables */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-primary);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(30, 30, 30, 0.8));
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-mono);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
    max-width: 90%;
    margin: 0 auto;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

.cta-button {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-secondary);
    transition: all 0.3s ease;
    z-index: -1;
}

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

.cta-button:hover::before {
    width: 100%;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.scroll-indicator span {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-text {
    flex: 3;
}

.about-image {
    flex: 2;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.timeline {
    margin-top: var(--spacing-lg);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--timeline-color);
}

.timeline-item {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: -8px;
    width: 18px;
    height: 18px;
    background: var(--timeline-color);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.timeline-content {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
}

/* ===== Compeller Section ===== */
.compeller {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    position: relative;
    overflow: hidden;
}

.compeller-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
}

.compeller-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.compeller-logo {
    max-width: 300px;
    margin: 0 auto var(--spacing-md);
}

.compeller-tagline {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.compeller-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

.compeller-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ===== Music Section ===== */
.music {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    position: relative;
    overflow: hidden;
}

.music .section-title::after {
    background: var(--accent-music);
}

.music-content {
    max-width: 900px;
    margin: 0 auto;
}

.music-text {
    text-align: center;
}

.music-text .highlight-text {
    color: var(--accent-music);
}

.music-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.music-feature {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--accent-music);
}

.music-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.music-icon {
    font-size: 2.5rem;
    color: var(--accent-music);
    margin-bottom: var(--spacing-sm);
}

.music-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.music-cta .cta-button {
    background: var(--accent-music);
}

.music-cta .cta-button::before {
    background: var(--accent-secondary);
}

/* ===== Vision Section ===== */
.vision {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-quote {
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding: 0 var(--spacing-md);
}

.vision-quote::before,
.vision-quote::after {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
    position: absolute;
}

.vision-quote::before {
    top: -20px;
    left: 0;
}

.vision-quote::after {
    bottom: -40px;
    right: 0;
}

.vision-text {
    text-align: center;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-primary), #252525);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-logo {
    max-width: 200px;
    margin: 0 auto var(--spacing-md);
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--card-bg);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.contact-link .fa-soundcloud {
    color: var(--accent-music);
}

.contact-link .fa-instagram {
    color: #C13584;
}

.contact-link:hover .fa-soundcloud,
.contact-link:hover .fa-instagram {
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    padding: var(--spacing-md) 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        margin-top: var(--spacing-md);
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-image {
        margin-bottom: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .music-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--nav-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: var(--spacing-lg);
    }
    
    .vision-quote {
        font-size: 1.4rem;
    }
}
