:root {
    --bg-color: #020617; /* Deepest Navy (almost black) */
    --card-bg: #0f172a; /* Lighter Navy for cards */
    --text-primary: #f8fafc; /* White/Off-white */
    --text-secondary: #94a3b8; /* Muted Blue-Grey */
    --accent: #3b82f6; /* Bright Apple-like Blue */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Navbar - Glassmorphism but dark */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section - Centered, Big, Bold */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    /* Subtle Navy Gradient */
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 70%); 
}

.hero h1 {
    font-size: 8rem; /* Made bigger */
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
}

.subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Projects - Slider */
.projects-section {
    padding: 60px 40px; /* Reduced padding */
    background: var(--bg-color);
    overflow: hidden; /* Ensure no horizontal scrollbar on body */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.projects-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 40px; /* Space for scrollbar if visible, or aesthetics */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none; /* Firefox */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 400px;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 50px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* items at top */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: #1e293b; /* Slightly lighter on hover */
    border-color: rgba(255,255,255,0.1);
}

.project-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.project-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 80%;
}

.link-arrow {
    text-decoration: none;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:after {
    content: "→";
    transition: transform 0.3s ease;
}

.link-arrow:hover:after {
    transform: translateX(5px);
}

.link-arrow:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 60px 40px; /* Reduced padding */
    background: #020617;
}

.about-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    margin-top: 40px;
}

.bento-box {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.bento-box:hover {
    transform: scale(1.02);
    background: #1e293b;
}

.bento-box.wide {
    grid-column: span 2;
}

.bento-box.tall {
    grid-row: span 2;
}

.bento-box h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.bento-box p {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.bento-box p.small {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 100px 40px; /* Reduced padding */
    text-align: center;
    background: var(--bg-color);
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
   letter-spacing: -0.02em;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: 0.3s;
    min-width: 200px;
}

.contact-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.contact-btn span {
    margin-left: 10px;
}

/* Footer */
footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 4rem; } 
    .nav-links { display: none; } /* Mobile menu disabled for simplicity/requested clean look */
    .about-bento-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
    }
    .bento-box.wide, .bento-box.tall { grid-column: auto; grid-row: auto; }
    
    .projects-slider {
        padding-right: 40px; /* Show part of next card */
    }
    
    .project-card {
        min-width: 300px; /* Smaller cards on mobile */
        height: 400px;
    }
}
