/* rinji.dev - Futuristic Urban Developer Portfolio */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Playfair Display, Space Mono, Inter */

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

:root {
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --warm-white: #f5f0e8;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --sidebar-width: 240px;
    --glitch-red: #ff0040;
    --glitch-green: #00ff9f;
    --glitch-blue: #4a90d9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0d0d1a;
    color: var(--warm-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 50%, #0f0f23 100%);
    border-right: 1px solid rgba(74, 144, 217, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-brand {
    padding: 32px 24px;
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--warm-white);
    position: relative;
    display: inline-block;
}

.brand-text::before,
.brand-text::after {
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.brand-text::before {
    color: var(--glitch-red);
    z-index: -1;
}

.brand-text::after {
    color: var(--glitch-green);
    z-index: -2;
}

.brand-text:hover::before {
    opacity: 0.8;
    animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.brand-text:hover::after {
    opacity: 0.8;
    animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

.brand-dot {
    font-family: 'Space Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

.sidebar-nav {
    list-style: none;
    padding: 24px 0;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(74, 144, 217, 0.08);
}

.nav-item.active {
    background: rgba(74, 144, 217, 0.12);
}

.nav-indicator {
    width: 3px;
    height: 0;
    background: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: height 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.nav-item.active .nav-indicator {
    height: 24px;
}

.nav-item:hover .nav-indicator {
    height: 16px;
    background: var(--primary-blue);
}

.nav-label {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-gray);
    margin-left: 16px;
    transition: color 0.3s ease;
}

.nav-item.active .nav-label {
    color: var(--warm-white);
}

.nav-item:hover .nav-label {
    color: var(--primary-blue);
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(74, 144, 217, 0.1);
}

.city-svg {
    width: 100%;
    opacity: 0.6;
}

/* Sidebar Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
}

.sidebar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-white);
    transition: all 0.3s ease;
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.section {
    min-height: 100vh;
    position: relative;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
}

/* ========== HERO ========== */
.hero-section {
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(74, 144, 217, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(232, 184, 75, 0.05) 0%, transparent 50%),
                #0d0d1a;
}

/* Bokeh Background */
.bokeh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
}

.bokeh-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: 10%;
    left: 20%;
    animation: bokeh-float 12s ease-in-out infinite;
}

.bokeh-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-gold);
    top: 60%;
    right: 15%;
    animation: bokeh-float 15s ease-in-out infinite reverse;
}

.bokeh-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-blue);
    bottom: 20%;
    left: 10%;
    animation: bokeh-float 18s ease-in-out infinite;
    animation-delay: -3s;
}

.bokeh-4 {
    width: 180px;
    height: 180px;
    background: var(--accent-gold);
    top: 30%;
    right: 30%;
    animation: bokeh-float 14s ease-in-out infinite reverse;
    animation-delay: -5s;
}

.bokeh-5 {
    width: 350px;
    height: 350px;
    background: #1a3a5c;
    top: 50%;
    left: 40%;
    animation: bokeh-float 20s ease-in-out infinite;
    animation-delay: -8s;
}

.bokeh-6 {
    width: 150px;
    height: 150px;
    background: var(--primary-blue);
    top: 5%;
    right: 10%;
    animation: bokeh-float 11s ease-in-out infinite;
    animation-delay: -2s;
}

.bokeh-7 {
    width: 220px;
    height: 220px;
    background: rgba(232, 184, 75, 0.5);
    bottom: 10%;
    right: 40%;
    animation: bokeh-float 16s ease-in-out infinite reverse;
    animation-delay: -6s;
}

.bokeh-8 {
    width: 280px;
    height: 280px;
    background: #0f2a4a;
    top: 70%;
    left: 60%;
    animation: bokeh-float 13s ease-in-out infinite;
    animation-delay: -4s;
}

.bokeh-bg-small .bokeh-s1 {
    width: 150px;
    height: 150px;
    background: var(--primary-blue);
    top: 20%;
    right: 10%;
    animation: bokeh-float 10s ease-in-out infinite;
    opacity: 0.1;
}

.bokeh-bg-small .bokeh-s2 {
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    top: 50%;
    left: 20%;
    animation: bokeh-float 14s ease-in-out infinite reverse;
    opacity: 0.08;
}

.bokeh-bg-small .bokeh-s3 {
    width: 200px;
    height: 200px;
    background: #1a3a5c;
    bottom: 10%;
    right: 30%;
    animation: bokeh-float 18s ease-in-out infinite;
    opacity: 0.06;
}

@keyframes bokeh-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: var(--warm-white);
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--muted-gray);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
}

.tagline-bracket {
    color: var(--accent-gold);
    font-weight: 700;
}

.tagline-cursor {
    color: var(--accent-gold);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 32px;
    background: var(--primary-blue);
    color: var(--warm-white);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a9fe6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
}

.btn-secondary {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 32px;
    background: transparent;
    color: var(--warm-white);
    border: 1px solid rgba(245, 240, 232, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========== GLITCH EFFECT ========== */
.glitch-hover {
    position: relative;
}

.glitch-hover::before,
.glitch-hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.glitch-hover::before {
    color: var(--glitch-red);
    z-index: -1;
}

.glitch-hover::after {
    color: var(--glitch-green);
    z-index: -2;
}

.glitch-hover:hover::before {
    opacity: 0.8;
    animation: glitch-1 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-hover:hover::after {
    opacity: 0.8;
    animation: glitch-2 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, -1px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(1px, 2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-1px, 1px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(65% 0 13% 0); transform: translate(2px, 1px); }
    20% { clip-path: inset(10% 0 85% 0); transform: translate(-1px, -2px); }
    40% { clip-path: inset(72% 0 10% 0); transform: translate(1px, -1px); }
    60% { clip-path: inset(30% 0 42% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(85% 0 5% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(47% 0 32% 0); transform: translate(-1px, 1px); }
}

/* ========== SECTIONS COMMON ========== */
.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--warm-white);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-gold), var(--primary-blue));
    border-radius: 2px;
}

/* ========== ABOUT ========== */
.about-section {
    background: linear-gradient(135deg, #0d0d1a 0%, #131328 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    flex: 1;
}

/* Progressive Disclosure */
.disclosure-block {
    border: 1px solid rgba(74, 144, 217, 0.15);
    margin-bottom: 16px;
    background: rgba(26, 26, 46, 0.5);
    overflow: hidden;
}

.disclosure-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.disclosure-header:hover {
    background: rgba(74, 144, 217, 0.08);
}

.disclosure-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--warm-white);
}

.disclosure-icon {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    user-select: none;
}

.disclosure-block.open .disclosure-icon {
    transform: rotate(45deg);
}

.disclosure-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.disclosure-block.open .disclosure-content {
    max-height: 500px;
    padding: 0 24px 24px;
}

.disclosure-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted-gray);
}

/* Code Window */
.code-window {
    background: #0a0a1a;
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(26, 26, 46, 0.8);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.code-filename {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--muted-gray);
    margin-left: 8px;
}

.code-block {
    padding: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    overflow-x: auto;
    color: var(--warm-white);
}

.code-keyword { color: var(--primary-blue); }
.code-var { color: var(--warm-white); }
.code-prop { color: var(--accent-gold); }
.code-string { color: #27c93f; }

/* ========== PROJECTS ========== */
.projects-section {
    background: #0d0d1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    flex: 1;
}

.project-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(74, 144, 217, 0.12);
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    border-color: rgba(74, 144, 217, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(74, 144, 217, 0.03) 2px,
        rgba(74, 144, 217, 0.03) 4px
    );
}

.project-card:hover .project-card-glitch {
    opacity: 1;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

.project-number {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 900;
    color: rgba(74, 144, 217, 0.08);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 12px;
    position: relative;
}

.project-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted-gray);
    margin-bottom: 20px;
    position: relative;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
}

.tech-tag {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: rgba(74, 144, 217, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(74, 144, 217, 0.2);
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.link-text {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.link-arrow {
    color: var(--accent-gold);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.project-card:hover .link-arrow {
    transform: translateX(6px);
}

/* ========== SKILLS ========== */
.skills-section {
    background: linear-gradient(135deg, #131328 0%, #0d0d1a 100%);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-name {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-track {
    height: 4px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== CONTACT ========== */
.contact-section {
    background: #0d0d1a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    flex: 1;
    align-items: start;
}

.contact-intro {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted-gray);
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--warm-white);
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.contact-link:hover {
    color: var(--primary-blue);
    padding-left: 8px;
}

.contact-link-icon {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-gray);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--warm-white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(74, 144, 217, 0.2);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: rgba(108, 117, 125, 0.5);
}

.form-input:focus {
    border-bottom-color: var(--primary-blue);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.form-input:focus ~ .form-line {
    width: 100%;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 8px;
}

.btn-glitch {
    display: none;
}

/* ========== FOOTER ========== */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(74, 144, 217, 0.1);
}

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

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--warm-white);
}

.footer-copy {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--muted-gray);
}

/* ========== ANIMATIONS ========== */
.section-header,
.about-text,
.about-visual,
.project-card,
.skill-category,
.contact-text,
.contact-form-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.visible,
.about-text.visible,
.about-visual.visible,
.project-card.visible,
.skill-category.visible,
.contact-text.visible,
.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(2) { transition-delay: 0.1s; }
.project-card:nth-child(3) { transition-delay: 0.2s; }
.project-card:nth-child(4) { transition-delay: 0.3s; }

.skill-category:nth-child(2) { transition-delay: 0.15s; }
.skill-category:nth-child(3) { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .section {
        padding: 60px 24px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}
